Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick: Add consensus_block_info digest to domain block header and use it to load ER #1903

Merged
merged 5 commits into from
Aug 29, 2023

Commits on Aug 28, 2023

  1. Add consensus_block_info digest to the domain block header

    This degist contains the consensus block hash that derive the domain block, it is
    used in later commits to load ER. This commit also revise the sp-domain-digests
    to replace the deprecated primary block with consensus block and remove the
    consensus block number from the digest since it is useless
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    f609b5f View commit details
    Browse the repository at this point in the history
  2. Use the consensus_block_info digest of the domain block header to loa…

    …d ER
    
    This commit change to the way to load ER from using the domain_hash => consensus_hash
    mapping to using the consensus hash of the consensus_block_info digest
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    279ac09 View commit details
    Browse the repository at this point in the history
  3. Remove the domain_block_hash => Vec<consensus_block_hash> mapping fro…

    …m the operator aux storage
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    ae80fa1 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Revise domain test test_multiple_consensus_blocks_derive_similar_doma…

    …in_block
    
    Signed-off-by: linning <[email protected]>
    NingLin-P committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    a55aaa0 View commit details
    Browse the repository at this point in the history
  2. Apply review suggestion

    Signed-off-by: linning <[email protected]>
    NingLin-P committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    8719fa0 View commit details
    Browse the repository at this point in the history