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

Add SoV deactivation owner support to the P-chain wallet #3541

Merged
merged 16 commits into from
Nov 13, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Factored out of #3440.

This adds DeactivationOwners to the P-Chain wallet so that the wallet can authorize DisableSubnetValidatorTxs.

How this works

Rather than storing a map of subnetID -> owner we generalize it to store ownerID -> owner. subnetIDs and validationIDs should never be able to conflict, so we don't need to have a separate map.

How this was tested

Need to be documented in RELEASES.md?

No.

@StephenButtolph StephenButtolph self-assigned this Nov 12, 2024
@StephenButtolph StephenButtolph added this to the v1.11.13 milestone Nov 12, 2024
@StephenButtolph StephenButtolph marked this pull request as ready for review November 12, 2024 22:27
Copy link
Contributor

@marun marun left a comment

Choose a reason for hiding this comment

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

Are there e2e tests in subsequent PRs that exercise these wallet changes?

wallet/chain/p/wallet/backend_visitor.go Show resolved Hide resolved
@StephenButtolph
Copy link
Contributor Author

Are there e2e tests in subsequent PRs that exercise these wallet changes?

Yes. In #3440.

Base automatically changed from add-get-subnet-only-validator-api to master November 13, 2024 14:49
@StephenButtolph StephenButtolph added this pull request to the merge queue Nov 13, 2024
Merged via the queue into master with commit 3696d68 Nov 13, 2024
23 checks passed
@StephenButtolph StephenButtolph deleted the add-validation-id-to-wallet branch November 13, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants