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

Change pool state root hash for BLS-signature in Commit messages

    Details

    • Type: Task
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.79
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      EV 18.24
    • Documentation Impact:
      Unset

      Description

      Change pool_state_root_hash in Commit MultiSignatureValue to pre_prepare.pool_state_root_hash.
      Acceptance criteria

      • Add field "POOL_STATE_ROOT_HASH" to PrePrepare message (Put it before PLUGIN_FIELDS)
      • Add validation of new PrePrepare format. Its POOL_STATE_ROOT_HASH should be included in the uncommitted state root hash
      • Change commit BLS signature creating. Now it should use pool state root hash from PrePrepare message instead committed state root hash.
      • Change validation of a commit BLS signature. Now it should use pool state root hash from PrePrepare message instead committed state root hash.
      • Change logging message in case with incorrect BLS signature for commit message. Add information about an incorrect Commit message
      • Add tests

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                VladimirWork Vladimir Shishkin
                Reporter:
                Toktar Renata Toktar
                Watchers:
                NIkita Zhigunenko, Renata Toktar, Vladimir Shishkin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: