Versions in this module Expand all Collapse all v3 v3.0.2 Jul 5, 2023 v3.0.1 Jul 5, 2023 Changes in this version + func EmitCreateClientEvent(ctx sdk.Context, clientID string, clientState exported.ClientState) + func EmitSubmitMisbehaviourEvent(ctx sdk.Context, clientID string, clientState exported.ClientState) + func EmitSubmitMisbehaviourEventOnUpdate(ctx sdk.Context, clientID string, clientState exported.ClientState, ...) + func EmitUpdateClientEvent(ctx sdk.Context, clientID string, clientState exported.ClientState, ...) + func EmitUpdateClientProposalEvent(ctx sdk.Context, clientID string, clientState exported.ClientState) + func EmitUpgradeClientEvent(ctx sdk.Context, clientID string, clientState exported.ClientState) + func EmitUpgradeClientProposalEvent(ctx sdk.Context, title string, height int64) + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, key sdk.StoreKey, paramSpace paramtypes.Subspace, ...) Keeper + func (k Keeper) CheckMisbehaviourAndUpdateState(ctx sdk.Context, misbehaviour exported.Misbehaviour) error + func (k Keeper) ClientStore(ctx sdk.Context, clientID string) sdk.KVStore + func (k Keeper) ClientUpdateProposal(ctx sdk.Context, p *types.ClientUpdateProposal) error + func (k Keeper) CreateClient(ctx sdk.Context, clientState exported.ClientState, ...) (string, error) + func (k Keeper) GenerateClientIdentifier(ctx sdk.Context, clientType string) string + func (k Keeper) GetAllClientMetadata(ctx sdk.Context, genClients []types.IdentifiedClientState) ([]types.IdentifiedGenesisMetadata, error) + func (k Keeper) GetAllClients(ctx sdk.Context) (states []exported.ClientState) + func (k Keeper) GetAllConsensusStates(ctx sdk.Context) types.ClientsConsensusStates + func (k Keeper) GetAllGenesisClients(ctx sdk.Context) types.IdentifiedClientStates + func (k Keeper) GetAllowedClients(ctx sdk.Context) []string + func (k Keeper) GetClientConsensusState(ctx sdk.Context, clientID string, height exported.Height) (exported.ConsensusState, bool) + func (k Keeper) GetClientState(ctx sdk.Context, clientID string) (exported.ClientState, bool) + func (k Keeper) GetLatestClientConsensusState(ctx sdk.Context, clientID string) (exported.ConsensusState, bool) + func (k Keeper) GetNextClientSequence(ctx sdk.Context) uint64 + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetSelfConsensusState(ctx sdk.Context, height exported.Height) (exported.ConsensusState, error) + func (k Keeper) GetUpgradePlan(ctx sdk.Context) (plan upgradetypes.Plan, havePlan bool) + func (k Keeper) GetUpgradedClient(ctx sdk.Context, planHeight int64) ([]byte, bool) + func (k Keeper) GetUpgradedConsensusState(ctx sdk.Context, planHeight int64) ([]byte, bool) + func (k Keeper) HandleUpgradeProposal(ctx sdk.Context, p *types.UpgradeProposal) error + func (k Keeper) HasClientConsensusState(ctx sdk.Context, clientID string, height exported.Height) bool + func (k Keeper) IterateClients(ctx sdk.Context, cb func(clientID string, cs exported.ClientState) bool) + func (k Keeper) IterateConsensusStates(ctx sdk.Context, ...) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MustMarshalClientState(clientState exported.ClientState) []byte + func (k Keeper) MustMarshalConsensusState(consensusState exported.ConsensusState) []byte + func (k Keeper) MustUnmarshalClientState(bz []byte) exported.ClientState + func (k Keeper) MustUnmarshalConsensusState(bz []byte) exported.ConsensusState + func (k Keeper) SetAllClientMetadata(ctx sdk.Context, genMetadata []types.IdentifiedGenesisMetadata) + func (k Keeper) SetClientConsensusState(ctx sdk.Context, clientID string, height exported.Height, ...) + func (k Keeper) SetClientState(ctx sdk.Context, clientID string, clientState exported.ClientState) + func (k Keeper) SetNextClientSequence(ctx sdk.Context, sequence uint64) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetUpgradedConsensusState(ctx sdk.Context, planHeight int64, bz []byte) error + func (k Keeper) UnmarshalClientState(bz []byte) (exported.ClientState, error) + func (k Keeper) UnmarshalConsensusState(bz []byte) (exported.ConsensusState, error) + func (k Keeper) UpdateClient(ctx sdk.Context, clientID string, header exported.Header) error + func (k Keeper) UpgradeClient(ctx sdk.Context, clientID string, upgradedClient exported.ClientState, ...) error + func (k Keeper) ValidateSelfClient(ctx sdk.Context, clientState exported.ClientState) error + func (q Keeper) ClientParams(c context.Context, _ *types.QueryClientParamsRequest) (*types.QueryClientParamsResponse, error) + func (q Keeper) ClientState(c context.Context, req *types.QueryClientStateRequest) (*types.QueryClientStateResponse, error) + func (q Keeper) ClientStates(c context.Context, req *types.QueryClientStatesRequest) (*types.QueryClientStatesResponse, error) + func (q Keeper) ClientStatus(c context.Context, req *types.QueryClientStatusRequest) (*types.QueryClientStatusResponse, error) + func (q Keeper) ConsensusState(c context.Context, req *types.QueryConsensusStateRequest) (*types.QueryConsensusStateResponse, error) + func (q Keeper) ConsensusStateHeights(c context.Context, req *types.QueryConsensusStateHeightsRequest) (*types.QueryConsensusStateHeightsResponse, error) + func (q Keeper) ConsensusStates(c context.Context, req *types.QueryConsensusStatesRequest) (*types.QueryConsensusStatesResponse, error) + func (q Keeper) UpgradedClientState(c context.Context, req *types.QueryUpgradedClientStateRequest) (*types.QueryUpgradedClientStateResponse, error) + func (q Keeper) UpgradedConsensusState(c context.Context, req *types.QueryUpgradedConsensusStateRequest) (*types.QueryUpgradedConsensusStateResponse, error) + type Migrator struct + func NewMigrator(keeper Keeper) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error