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

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

    XMLWordPrintable

Details

    • Task
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • 1.6.79
    • None
    • None
    • EV 18.24
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: