Skip to Content
svmgovAdministrationOverview

Administration

Operator-facing commands for managing the on-chain GlobalConfig — the singleton account that holds every governance parameter (length limits, support threshold, epoch windows, minimum proposal stake) and the admin authority allowed to change them.

These commands are not needed by validators or stakers participating in governance; they are for whoever operates the deployment.

The admin model

  • Initialization is gated to the program’s upgrade authority. init-global-config requires the signer to be the program’s upgrade authority (verified on-chain against the program’s ProgramData account). The signer becomes the stored GlobalConfig.admin. This prevents anyone from front-running initialization and seizing control of governance parameters.
  • Updates require the stored admin. Only GlobalConfig.admin can run update-global-config.
  • Admin is transferable via a two-step handoff. nominate-admin (current admin) then accept-admin (nominee). See Transfer Admin.

Initialize the global config before relinquishing the program’s upgrade authority. If the program is made immutable (upgrade authority set to None), init-global-config can no longer succeed.

Commands

CommandWho signsPurpose
init-global-configprogram upgrade authorityOne-time creation of GlobalConfig
update-global-configcurrent adminChange one or more parameters
show-global-confignobody (read-only)Display current parameters and pending admin
nominate-admincurrent adminStep 1 of admin transfer
accept-adminnomineeStep 2 of admin transfer

Parameter bounds

The CLI validates these client-side before sending, and the program enforces them on-chain:

ParameterBound
max_title_length1–200 (bytes)
max_description_length1–500 (bytes)
cluster_support_pct_min_bps0–10,000 (basis points)

Title and description limits are measured in bytes, not characters. Multi-byte UTF-8 input (emoji, non-Latin scripts) consumes more than one byte per character.

Last updated on