Skip to content

V1 conversion e2e test #736

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

V1 conversion e2e test #736

wants to merge 13 commits into from

Conversation

cam-schultz
Copy link
Contributor

Why this should be merged

E2E test for the migration feature added in #734

How this works

How this was tested

New E2E test that upgrades from V1 PoAValidatorManager to V2 ValidatorManager

How is this documented

@cam-schultz cam-schultz requested a review from a team as a code owner March 7, 2025 17:11
@github-project-automation github-project-automation bot moved this to Backlog 🗄️ in avalanchego Mar 7, 2025
@cam-schultz cam-schultz changed the base branch from main to upgrade-from-v1 March 7, 2025 17:11
Base automatically changed from upgrade-from-v1 to main March 7, 2025 21:13
Comment on lines +517 to +519
for i := range nodes {
validationIDs = append(validationIDs, l1Info.SubnetID.Append(uint32(i)))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

What's happening here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We're computing the initial validationIDs as the hash of the concatenated subnetID and validator index, per ACP-77

@cam-schultz cam-schultz requested a review from geoff-vball March 19, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🧊
Development

Successfully merging this pull request may close these issues.

2 participants