Skip to Content
svmgovFor StakersModify Vote Override

Modify Vote Override

Change your existing stake account vote override on a governance proposal.

Description

If you have already submitted a vote override and want to change your allocation, use this command. The program reverses the effect of your previous override and applies the new values.

Usage

svmgov modify-vote-override \ --proposal-id "ABC123..." \ --for-votes 8000 \ --against-votes 1000 \ --abstain-votes 1000 \ --stake-account "StAkE..." \ --vote-account "VoTe..." \ --network mainnet \ --staker-keypair ~/.config/solana/staker.json

Arguments

ArgumentTypeRequiredDescription
--proposal-idStringYesProposal PDA address (base58)
--for-votesu64YesNew basis points for For (0–10,000)
--against-votesu64YesNew basis points for Against (0–10,000)
--abstain-votesu64YesNew basis points for Abstain (0–10,000)
--stake-accountStringYesYour stake account address (base58)
--vote-accountStringYesYour validator’s vote account address (base58)
--networkStringNoNetwork override: mainnet, testnet
--staker-keypairStringYesPath to staker keypair JSON

Global Arguments

OptionShortDescription
--rpc-url <URL>-rCustom RPC URL

Requirements

  • You must have already submitted a vote override for this proposal and stake account
  • Proposal must still be in the voting phase
  • New values must still sum to 10,000 basis points

Examples

# Change override to 80% For, 10% Against, 10% Abstain svmgov modify-vote-override \ --proposal-id "AbCdEf..." \ --for-votes 8000 \ --against-votes 1000 \ --abstain-votes 1000 \ --stake-account "StAkE111..." \ --vote-account "VoTe111..." \ --network mainnet \ --staker-keypair ~/.config/solana/staker.json # Change to fully abstain svmgov modify-vote-override \ --proposal-id "AbCdEf..." \ --for-votes 0 \ --against-votes 0 \ --abstain-votes 10000 \ --stake-account "StAkE111..." \ --vote-account "VoTe111..." \ --network mainnet \ --staker-keypair ~/.config/solana/staker.json

Modifying an override re-verifies your Merkle proofs (both MetaMerkle and StakeMerkle levels). Make sure the operator API is reachable.

Last updated on