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

vms/platformvm: Disable AddValidatorTx and AddDelegatorTx #2662

Merged
merged 27 commits into from
Jan 31, 2024

Conversation

dhrubabasu
Copy link
Contributor

@dhrubabasu dhrubabasu commented Jan 24, 2024

Why this should be merged

Implements https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/62-disable-addvalidatortx-and-adddelegatortx.md

These transactions have been superseded by AddPermissionlessValidatorTx and AddPermissionlessDelegatorTx since v1.9.0. We are now on v1.11.0 with Durango which is sufficient for downstream to update to the new transaction types which include BLS keys for validators.

How this works

AddValidatorTx and AddDelegatorTx should be marked as dropped when added to the mempool after Durango activation. Any blocks including these transactions should be considered invalid.

How this was tested

CI

@dhrubabasu dhrubabasu added the vm This involves virtual machines label Jan 24, 2024
@dhrubabasu dhrubabasu self-assigned this Jan 24, 2024
@dhrubabasu dhrubabasu changed the base branch from master to update-platformvm-tx-builder January 24, 2024 18:59
@dhrubabasu dhrubabasu marked this pull request as ready for review January 30, 2024 20:12
@dhrubabasu dhrubabasu changed the title [DRAFT] vms/platformvm: Disable AddValidatorTx and AddDelegatorTx vms/platformvm: Disable AddValidatorTx and AddDelegatorTx Jan 30, 2024
Base automatically changed from update-platformvm-tx-builder to master January 30, 2024 23:59
@StephenButtolph StephenButtolph added this to the v1.10.20 milestone Jan 31, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 31, 2024
Merged via the queue into master with commit 9855eac Jan 31, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the disable-legacy-staking-txs branch January 31, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vm This involves virtual machines
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants