Skip to Content
svmgovAdministrationUpdate Global Config

Update Global Config

Change one or more fields of the on-chain GlobalConfig. Every parameter is optional — only the flags you pass are updated.

Signer

The transaction must be signed by the current GlobalConfig.admin. A non-admin signer is rejected on-chain with UnauthorizedAdmin.

Usage

# Update just the voting and discussion windows svmgov -k <ADMIN_KEYPAIR> update-global-config \ --voting-epochs 5 \ --discussion-epochs 4

Arguments

All arguments are optional; omit the ones you don’t want to change. Same meanings and bounds as init-global-config:

ArgumentTypeBound
--max-title-lengthu161–200 (bytes)
--max-description-lengthu161–500 (bytes)
--max-support-epochsu64
--min-proposal-stake-lamportsu64
--cluster-support-pct-min-bpsu640–10,000
--discussion-epochsu64
--voting-epochsu64
--snapshot-epoch-extensionu64
--snapshot-slot-offseti64

Out-of-bounds values are rejected client-side before sending, and on-chain via InvalidMaxTitleLength, InvalidMaxDescriptionLength, or InvalidClusterSupportPctMin.

Global Arguments

OptionShortDescription
--keypair <PATH>-kPath to the admin keypair
--rpc-url <URL>-rCustom RPC URL
Last updated on