-
Notifications
You must be signed in to change notification settings - Fork 675
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
ACP-77: Implement RegisterSubnetValidatorTx
#3420
ACP-77: Implement RegisterSubnetValidatorTx
#3420
Conversation
RegisterSubnetValidatorTx
RegisterSubnetValidatorTx
…cp-77-deactivation
…date-convert-subnet-tx
…nt-acp-77-register-subnet-validator-tx
…cp-77-deactivation
…date-convert-subnet-tx
…cp-77-deactivation
…date-convert-subnet-tx
…nt-acp-77-register-subnet-validator-tx
…cp-77-deactivation
…date-convert-subnet-tx
…nt-acp-77-register-subnet-validator-tx
…7-register-subnet-validator-tx
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 makes sense to me. Left one comment about sentence I couldn't parse.
For the TODOs that are waiting on ACP-103 numbers, it might be helpful for both reviewers of this PR and whoever fixes the TODOs to label the TODOs specifically as TODO ACP-103
or something similar.
vms/platformvm/validators/manager.go
Outdated
// to avoid recommending it as the minimum height. If the evicting, or not | ||
// evicting, the block would violate either the maxiumum or minimum window | ||
// size, the block will not be evicted. |
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 sentence doesn't seem to make sense
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.
Re-wrote it
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.
Agree with @geoff-vball suggestion for a searchable prefix on each of the TODOs added in this PR that we will want to confirm have been completed, but all makes sense to me otherwise.
I added |
SGTM |
Why this should be merged
This PR introduces the
RegisterSubnetValidatorTx
defined by ACP-77.This PR includes:
RegisterSubnetValidatorTx
serialization definitionRegisterSubnetValidatorTx
building and wallet supportRegisterSubnetValidatorTx
RegisterSubnetValidatorTx
RegisterSubnetValidatorTx
This PR does not include:
RegisterSubnetValidatorTx
How this works
This PR adds the new
RegisterSubnetValidatorTx
type and implements all the required visitors.How this was tested