keeper

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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