Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2023 Changes in this version + const SubModuleName + var ErrConsensusStatesNotStored = sdkerrors.Register(SubModuleName, 2, "localhost does not store consensus states") + var ErrIntOverflowLocalhost = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthLocalhost = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupLocalhost = fmt.Errorf("proto: unexpected end of group") + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + type ClientState struct + ChainId string + Height types.Height + func NewClientState(chainID string, height clienttypes.Height) *ClientState + func (*ClientState) Descriptor() ([]byte, []int) + func (*ClientState) ProtoMessage() + func (cs *ClientState) CheckHeaderAndUpdateState(ctx sdk.Context, _ *codec.CodecProxy, _ sdk.KVStore, _ exported.Header) (exported.ClientState, exported.ConsensusState, error) + func (cs ClientState) CheckMisbehaviourAndUpdateState(_ sdk.Context, _ *codec.CodecProxy, _ sdk.KVStore, _ exported.Misbehaviour) (exported.ClientState, error) + func (cs ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, _ *codec.CodecProxy, _, _ sdk.KVStore, _ exported.ClientState) (exported.ClientState, error) + func (cs ClientState) ClientType() string + func (cs ClientState) ExportMetadata(_ sdk.KVStore) []exported.GenesisMetadata + func (cs ClientState) GetChainID() string + func (cs ClientState) GetLatestHeight() exported.Height + func (cs ClientState) GetProofSpecs() []*ics23.ProofSpec + func (cs ClientState) Initialize(_ sdk.Context, _ *codec.CodecProxy, _ sdk.KVStore, ...) error + func (cs ClientState) Status(_ sdk.Context, _ sdk.KVStore, _ *codec.CodecProxy) exported.Status + func (cs ClientState) Validate() error + func (cs ClientState) VerifyChannelState(store sdk.KVStore, cdc *codec.CodecProxy, _ exported.Height, ...) error + func (cs ClientState) VerifyClientConsensusState(sdk.KVStore, *codec.CodecProxy, exported.Height, string, exported.Height, ...) error + func (cs ClientState) VerifyClientState(store sdk.KVStore, cdc *codec.CodecProxy, _ exported.Height, _ exported.Prefix, ...) error + func (cs ClientState) VerifyConnectionState(store sdk.KVStore, cdc *codec.CodecProxy, _ exported.Height, _ exported.Prefix, ...) error + func (cs ClientState) VerifyNextSequenceRecv(ctx sdk.Context, store sdk.KVStore, _ *codec.CodecProxy, _ exported.Height, ...) error + func (cs ClientState) VerifyPacketAcknowledgement(ctx sdk.Context, store sdk.KVStore, _ *codec.CodecProxy, _ exported.Height, ...) error + func (cs ClientState) VerifyPacketCommitment(ctx sdk.Context, store sdk.KVStore, _ *codec.CodecProxy, _ exported.Height, ...) error + func (cs ClientState) VerifyPacketReceiptAbsence(ctx sdk.Context, store sdk.KVStore, _ *codec.CodecProxy, _ exported.Height, ...) error + func (cs ClientState) VerifyUpgradeAndUpdateState(_ sdk.Context, _ *codec.CodecProxy, _ sdk.KVStore, _ exported.ClientState, ...) (exported.ClientState, exported.ConsensusState, error) + func (cs ClientState) ZeroCustomFields() exported.ClientState + func (m *ClientState) Marshal() (dAtA []byte, err error) + func (m *ClientState) MarshalTo(dAtA []byte) (int, error) + func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ClientState) Reset() + func (m *ClientState) Size() (n int) + func (m *ClientState) String() string + func (m *ClientState) Unmarshal(dAtA []byte) error + func (m *ClientState) XXX_DiscardUnknown() + func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClientState) XXX_Merge(src proto.Message) + func (m *ClientState) XXX_Size() int + func (m *ClientState) XXX_Unmarshal(b []byte) error