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.jsonArguments
| Argument | Type | Required | Description |
|---|---|---|---|
--proposal-id | String | Yes | Proposal PDA address (base58) |
--for-votes | u64 | Yes | New basis points for For (0–10,000) |
--against-votes | u64 | Yes | New basis points for Against (0–10,000) |
--abstain-votes | u64 | Yes | New basis points for Abstain (0–10,000) |
--stake-account | String | Yes | Your stake account address (base58) |
--vote-account | String | Yes | Your validator’s vote account address (base58) |
--network | String | No | Network override: mainnet, testnet |
--staker-keypair | String | Yes | Path to staker keypair JSON |
Global Arguments
| Option | Short | Description |
|---|---|---|
--rpc-url <URL> | -r | Custom 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.jsonModifying an override re-verifies your Merkle proofs (both MetaMerkle and StakeMerkle levels). Make sure the operator API is reachable.
Related
- Cast Vote Override — Initial override command
Last updated on