Skip to content

feature gate genesis vote account creation #9377

@AshwinSekar

Description

@AshwinSekar

Problem

We are unable to spin up clusters where the vote_state_v4 feature flag is not active (e.g. cluster_type == MainnetBeta)

To repro: solana-test-validator --deactivate-feature Gx4XFcrVMt4HUvPzTpTSVkdDVgcDSjKhDN1RqRS6KDuZ - no slots will be finalized.

We've seen similar reports from users running local clusters (e.g. fd / jito)

let validator_vote_account = vote_state::create_v4_account_with_authorized(

let vote_account = vote_state::create_v4_account_with_authorized(

Proposed Solution

We should feature gate initial vote account creation to create v3 accounts if the feature is not active

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions