keeper

package
v0.2.2-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyPatchToIBCKeeper

func ApplyPatchToIBCKeeper(k ibckeeper.Keeper, cdc codec.BinaryCodec, key sdk.StoreKey, paramSpace paramtypes.Subspace, seqMgr commitment.SequenceManager) *ibckeeper.Keeper

ApplyPatchToIBCKeeper applies patches to ibc keeper

Types

type ClientKeeper

type ClientKeeper struct {
	clientkeeper.Keeper
	// contains filtered or unexported fields
}

ClientKeeper override `GetSelfConsensusState` and `ValidateSelfClient` in the keeper of ibc-client original method doesn't yet support a consensus state for general client

func (ClientKeeper) GetSelfConsensusState

func (k ClientKeeper) GetSelfConsensusState(ctx sdk.Context, height exported.Height) (exported.ConsensusState, bool)

GetSelfConsensusState introspects the (self) past historical info at a given height and returns the expected consensus state at that height. For now, can only retrieve self consensus states for the current version

func (ClientKeeper) ValidateSelfClient

func (k ClientKeeper) ValidateSelfClient(ctx sdk.Context, clientState exported.ClientState) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL