-
Notifications
You must be signed in to change notification settings - Fork 219
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
Add the Past Finality Signatures #4004
Add the Past Finality Signatures #4004
Conversation
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.
Generally looks good, but there is a concern about JsonBlockBody
which we should resolve.
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.
This looks good to me except for @fizyk20's comment regarding the JsonBlockBody
. I'd be fine to merge this PR as is, so long as we have a ticket to address this for 2.0.
|
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.
LGTM 👍
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.
LGTM 👍
Debug, | ||
Default, | ||
)] | ||
pub struct PastFinalitySignatures(Vec<u8>); |
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.
As discussed in standup, I would like for us to workshop better terminology. We can merge with this name for now, but by the time we ship it we will ideally have refactored it to a less vague name.
That aside, I think the payload of this tuple struct should be a map keyed by block hash or block height and a value of vec u8. This will allow the discussed scheme of permitting proposers to include signatures from earlier blocks which were missed by the proposer(s) of earlier block(s).
Again, we could merge as is for now and revisit if that is more convenient.
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.
Approved, but with expectation of further iteration.
bors r+ |
Timed out. |
bors r+ |
Timed out. |
bors r+ |
Timed out. |
We're failing the NCTL upgrade test @fizyk20 @Boiethios https://drone-auto-casper-network.casperlabs.io/casper-network/casper-node/8467/2/4 |
This is likely because we changed the |
799d0ee
into
casper-network:feat-signature-rewards
Adds a new field in the block body to keep track of the past finality signatures.
Fixes #3911