Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StoreKey = "Consensus"
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { ParamsStore collections.Item[cmtproto.ConsensusParams] // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, storeService storetypes.KVStoreService, authority string, em event.Service) Keeper
func (*Keeper) GetAuthority ¶
func (Keeper) Params ¶ added in v0.50.0
func (k Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params queries params of consensus module
func (Keeper) UpdateParams ¶ added in v0.50.0
func (k Keeper) UpdateParams(ctx context.Context, msg *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error)
Click to show internal directories.
Click to hide internal directories.