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 NewClientKeeper ¶
func NewClientKeeper(k clientkeeper.Keeper, seqMgr commitment.SequenceManager) ClientKeeper
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
Click to show internal directories.
Click to hide internal directories.