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

Merged
merged 352 commits into from
Nov 6, 2024

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Sep 18, 2024

Why this should be merged

This PR updates the ConvertSubnetTx to match the updated specification defined in ACP-77.

How this works

  • The ConvertSubnetTx in the spec now includes the initial validator set.
  • ACP-77 specifies how to generate SubnetConversionIDs and those are now populated.

How this was tested

  • L1 E2E tests are updated
  • ConvertSubnetTx serialization tests are updated
  • ConvertSubnetTx syntactic verification tests are updated
  • ConvertSubnetTx execution tests are updated
  • ConvertSubnetTx complexity tests are updated
  • ConvertSubnetTx wallet builder tests are updated

@StephenButtolph StephenButtolph changed the base branch from implement-acp-77-tx-base to implement-acp-77-sov-validators-state September 18, 2024 23:18
@StephenButtolph StephenButtolph changed the base branch from implement-acp-77-sov-validators-state to implement-acp-77-deactivation September 24, 2024 18:30
StephenButtolph and others added 24 commits September 30, 2024 21:00
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
Signed-off-by: Joshua Kim <[email protected]>
@StephenButtolph StephenButtolph changed the base branch from master to refactor-l1-e2e-tests November 5, 2024 21:17
@StephenButtolph StephenButtolph marked this pull request as ready for review November 5, 2024 21:25
@darioush darioush self-requested a review November 5, 2024 21:28
tests/e2e/p/l1.go Outdated Show resolved Hide resolved
vms/platformvm/txs/convert_subnet_tx.go Show resolved Hide resolved
vms/platformvm/txs/fee/complexity.go Show resolved Hide resolved
Base automatically changed from refactor-l1-e2e-tests to master November 5, 2024 22:52
ManagerChainID: chainID,
ManagerAddress: address,
},
subnet,
)
})

tc.By("verifying the validator set was updated", func() {
verifyValidatorSet(map[ids.NodeID]*snowvalidators.GetValidatorOutput{
Copy link
Contributor

Choose a reason for hiding this comment

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

curious what the expected validatorSet is before the conversion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added as part of the test

@marun marun added this pull request to the merge queue Nov 6, 2024
@marun marun removed this pull request from the merge queue due to a manual request Nov 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to Branch Protection failures Nov 6, 2024
You're not authorized to push to this branch. Visit "About protected branches" for more information.
@StephenButtolph StephenButtolph added this pull request to the merge queue Nov 6, 2024
Merged via the queue into master with commit c13c576 Nov 6, 2024
23 checks passed
@StephenButtolph StephenButtolph deleted the implement-acp-77-update-convert-subnet-tx branch November 6, 2024 14:38
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.

6 participants