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

ACP-77: Update ConvertSubnetTx #3397

Draft
wants to merge 18 commits into
base: implement-acp-77-sov-validators-state
Choose a base branch
from

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

How this works

How this was tested

Comment on lines +96 to +97
// Initial balance for this validator
Balance uint64 `serialize:"true" json:"balance"`
Copy link
Contributor Author

@StephenButtolph StephenButtolph Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR does allow the validator to be initially inactive (by having a 0 balance)

Comment on lines +98 to +102
// [Signer] is the BLS key for this validator.
// Note: We do not enforce that the BLS key is unique across all validators.
// This means that validators can share a key if they so choose.
// However, a NodeID + Subnet does uniquely map to a BLS key
Signer signer.Signer `serialize:"true" json:"signer"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than using signer.Signer - should we just us the bls.ProofOfPossession struct? If we were to ever change the format of the BLS key... having the interface may be nice... But it feels a bit weird to use an interface where only one value is valid.

@StephenButtolph StephenButtolph changed the base branch from implement-acp-77-tx-base to implement-acp-77-sov-validators-state September 18, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants