Finalize Proposal
Lock a proposal’s results after its voting period ends.
Description
finalize-proposal is permissionless — anyone can call it after the voting epoch has passed. It sets proposal.finalized = true, permanently locking the vote tallies. No further votes or overrides can be recorded after finalization.
Usage
svmgov finalize-proposal --proposal-id "ABC123..."Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
--proposal-id | String | Yes | Proposal PDA address (base58) |
Global Arguments
| Option | Short | Description |
|---|---|---|
--keypair <PATH> | -k | Path to keypair JSON (payer for fees) |
--rpc-url <URL> | -r | Custom RPC URL |
Requirements
- Proposal must have
voting == true(was activated) - Proposal must not be finalized already
- Current epoch must be
>= proposal.end_epoch
Examples
# With config
svmgov finalize-proposal --proposal-id "AbCdEf..."
# With explicit RPC
svmgov finalize-proposal \
--proposal-id "AbCdEf..." \
--rpc-url https://api.mainnet-beta.solana.comReading the Result
After finalization, use svmgov proposal <ID> to view the final vote counts:
svmgov proposal "AbCdEf..."Output shows:
- Total For, Against, Abstain lamports
- Whether the proposal passed (interpretation is off-chain)
- Final vote count
The svmgov program records vote outcomes but does not enforce any action as a result. Proposal outcomes are interpreted by the community and governance participants.
Related
- View Proposal — View final results
- List Proposals — Browse all finalized proposals
Last updated on