SIMD-0138

Deprecate legacy vote instructions

Author: Ashwin Sekar · Category: Core Protocol GitHub →

Feature Gate Status

Mainnet Active E656
Testnet Active E658
Devnet Active E730

6Uf8S75PVh91MYgPQSHnjRAPQq6an5BDv9vomrCwDqLe

TL;DR

Disables the legacy `Vote`, `UpdateVoteState` and `CompactUpdateVoteState` instruction variants.

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.

Key Changes

  • deprecate legacy vote instructions, with key depVvnQ2UysGrhwdiwU42tCadZL8GcBb1i2GYhMopQv
  • enable tower sync vote instruction, with key tSynMCspg4xFiCj1v3TDb4c7crMR5tSBhLz4sF7rrNA
  • UpdateVoteState
  • UpdateVoteStateSwitch
  • CompactUpdateVoteState
  • CompactUpdateVoteStateSwitch

Impact

Sending transactions that include the mentioned instructions will fail.

Backwards Compatibility

Incompatible

Security Considerations

None