Skip to Content

Modify Vote

Change your existing vote on an active governance proposal.

Description

You can modify your vote at any time while the proposal is still in the voting phase. The program subtracts your old vote lamounts from the proposal totals and adds your new allocation. Your stake weight is re-verified via Merkle proof.

Usage

svmgov modify-vote \ --proposal-id "ABC123..." \ --for-votes 8000 \ --against-votes 1000 \ --abstain-votes 1000 \ --network mainnet

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)
--networkStringNoNetwork override: mainnet, testnet

Global Arguments

OptionShortDescription
--keypair <PATH>-kPath to validator identity keypair JSON
--rpc-url <URL>-rCustom RPC URL

Requirements

  • You must have already voted on this proposal
  • Proposal must still be in the voting phase (not yet past end_epoch)
  • New values must still sum to 10,000 basis points

Examples

# Change to strongly For svmgov modify-vote \ --proposal-id "AbCdEf..." \ --for-votes 9000 \ --against-votes 500 \ --abstain-votes 500 \ --network mainnet # Change to 50/50 For/Against svmgov modify-vote \ --proposal-id "AbCdEf..." \ --for-votes 5000 \ --against-votes 5000 \ --abstain-votes 0 \ --network mainnet

Modifying your vote does not affect existing delegator overrides. Delegators who overrode your vote before your modification will retain their override effect.

Last updated on