-
Notifications
You must be signed in to change notification settings - Fork 4
Rename ValidatorConsensusData to ProposerConsensusData #596
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
Conversation
…alidator consensus data tests)
…subnet for contribution)
|
Skipped: This PR changes more files than the configured file change limit: ( |
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
y0sher
left a comment
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
| ValidatorRegistrationNoConsensusDataErrorCode | ||
| ValidatorExitNoConsensusDataErrorCode |
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.
I think I asked before but why was this changed?
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.
ok you changed Validate
GalRogozinski
left a comment
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!
GalRogozinski
left a comment
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.
Maybe let's add to the description the fact that the ConsensusData validation changed a bit. Just so that it is clear.
All the json changes obfusticate this
Overview
The
ValidatorConsensusDatatype is currently only used for the block proposer duty.Thus, it's best to rename it and align to its usage.
This PR renames it to
ProposerConsensusData, changes its validation, and align tests.