Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-2030

ID sent by client in Revoc txns must match the TXN_ID in the txn

    XMLWordPrintable

    Details

    • Type: Task
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.16.0
    • Component/s: None
    • Labels:
      None
    • Documentation Impact:
      Unset

      Description

      Problem

      • ID is one of the field sent by the cleint in Revoc txns
      • This is assumed to match txnId, that is a key of the txn in the State Trie
      • However, as of now Ledger doesn't validate if the passed ID is equal to the generated key (txnId)

      Acceptance criteria

      • As part of static validation of all Revoc txns, make sure that the passed ID is equal to the state key for this txn.
      • Cover by tests

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ashcherbakov Alexander Shcherbakov
              Watchers:
              Alexander Shcherbakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: