-
Notifications
You must be signed in to change notification settings - Fork 22
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
Include finalization committee and block height in block hash #1104
Conversation
deed100
to
7b79cf8
Compare
7b79cf8
to
632100b
Compare
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/TreeStateTest.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/TreeStateTest.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/Types.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/Consensus/Blocks.hs
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/src/Concordium/KonsensusV1/TreeState/Types.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/LMDB.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/Consensus/Blocks.hs
Outdated
Show resolved
Hide resolved
concordium-consensus/tests/consensus/ConcordiumTests/KonsensusV1/Consensus/Blocks.hs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
I presume that the things mentioned will be taken care of by #1111 and future PRs.
Convert P6 tests to also run for P7 and onwards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just computeBlockResultHash
is a concern for me.
Purpose
Closes #1067
The purpose of this PR is to make the block hash to be computed from more information, specifically:
This PR should be merged after Concordium/concordium-base#490.
Changes
Starting from protocol version 7:
BlockResultHash
) which is also computed from the new information listed above.Checklist
hard-to-understand areas.