Deprecate legacy vote instructions
Summary
Disables the legacy Vote
, UpdateVoteState
and CompactUpdateVoteState
instruction variants.
Motivation
These instructions are no longer sent by validator clients. It is cumbersome to support these old vote instructions and ensure parity.
Alternatives Considered
None
New Terminology
None
Detailed Design
When the features:
deprecate legacy vote instructions
, with keydepVvnQ2UysGrhwdiwU42tCadZL8GcBb1i2GYhMopQv
enable tower sync vote instruction
, with keytSynMCspg4xFiCj1v3TDb4c7crMR5tSBhLz4sF7rrNA
are activated, the following instructions will result in an
InvalidInstructionData
error:
Vote
VoteSwitch
UpdateVoteState
UpdateVoteStateSwitch
CompactUpdateVoteState
CompactUpdateVoteStateSwitch
Enabling deprecate legacy vote instructions
without
enable tower sync vote instruction
should have no effect.
Impact
Sending transactions that include the mentioned instructions will fail.
Security Considerations
None
Backwards Compatibility
Incompatible