Skip to main content
The x/consensus module allows governance to update CometBFT’s ABCI consensus parameters on a live chain without a software upgrade.

Consensus Parameters

The module manages the following CometBFT consensus parameters:

Block Parameters

Evidence Parameters

Validator Parameters

ABCI Parameters

Messages

MsgUpdateParams

Updates consensus parameters via governance. All of block, evidence, and validator must be provided. abci is optional.

AuthorityParams

Authority management can be centralized via the x/consensus module using AuthorityParams. The AuthorityParams field in ConsensusParams stores the authority address on-chain. When set, it takes precedence over the per-keeper authority parameter. Keeper constructors still accept the authority parameter. It is used as a fallback when no authority is configured in consensus params.

How It Works

When a module validates authority (e.g., in UpdateParams), it checks consensus params first. If no authority is set there, it falls back to the keeper’s authority field:
To enable centralized authority, set the AuthorityParams in consensus params via a governance proposal targeting the x/consensus module’s MsgUpdateParams.

CLI

Query

params

Query the current consensus parameters:
Example Output:

Transactions

update-params-proposal

Submit a governance proposal to update consensus parameters:
Example:

gRPC

Params

Query the current consensus parameters:
Example Output:

REST