Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + const AttributeKeyClientID + const AttributeKeyClientType + const AttributeKeyConsensusHeight + const AttributeKeyHeader + const AttributeKeySubjectClientID + const KeyNextClientSequence + const LabelClientID + const LabelClientType + const LabelMsgType + const LabelUpdateType + const ProposalTypeClientUpdate + const ProposalTypeUpgrade + const QuerierRoute + const RouterKey + const SubModuleName + const TypeMsgCreateClient + const TypeMsgSubmitMisbehaviour + const TypeMsgUpdateClient + const TypeMsgUpgradeClient + var AttributeValueCategory = fmt.Sprintf("%s_%s", host.ModuleName, SubModuleName) + var DefaultAllowedClients = []string + var ErrClientExists = sdkerrors.Register(SubModuleName, 2, "light client already exists") + var ErrClientFrozen = sdkerrors.Register(SubModuleName, 5, "light client is frozen due to misbehaviour") + var ErrClientNotActive = sdkerrors.Register(SubModuleName, 29, "client is not active") + var ErrClientNotFound = sdkerrors.Register(SubModuleName, 4, "light client not found") + var ErrClientTypeNotFound = sdkerrors.Register(SubModuleName, 9, "client type not found") + var ErrConsensusStateNotFound = sdkerrors.Register(SubModuleName, 7, "consensus state not found") + var ErrFailedChannelStateVerification = sdkerrors.Register(SubModuleName, 17, "channel state verification failed") + var ErrFailedClientConsensusStateVerification = sdkerrors.Register(SubModuleName, 15, "client consensus state verification failed") + var ErrFailedClientStateVerification = sdkerrors.Register(SubModuleName, 14, "client state verification failed") + var ErrFailedConnectionStateVerification = sdkerrors.Register(SubModuleName, 16, "connection state verification failed") + var ErrFailedNextSeqRecvVerification = sdkerrors.Register(SubModuleName, 21, "next sequence receive verification failed") + var ErrFailedPacketAckVerification = sdkerrors.Register(SubModuleName, 19, "packet acknowledgement verification failed") + var ErrFailedPacketCommitmentVerification = sdkerrors.Register(SubModuleName, 18, "packet commitment verification failed") + var ErrFailedPacketReceiptVerification = sdkerrors.Register(SubModuleName, 20, "packet receipt verification failed") + var ErrIntOverflowClient = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidClient = sdkerrors.Register(SubModuleName, 3, "light client is invalid") + var ErrInvalidClientMetadata = sdkerrors.Register(SubModuleName, 6, "invalid client metadata") + var ErrInvalidClientType = sdkerrors.Register(SubModuleName, 10, "invalid client type") + var ErrInvalidConsensus = sdkerrors.Register(SubModuleName, 8, "invalid consensus state") + var ErrInvalidHeader = sdkerrors.Register(SubModuleName, 12, "invalid client header") + var ErrInvalidHeight = sdkerrors.Register(SubModuleName, 26, "invalid height") + var ErrInvalidLengthClient = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidMisbehaviour = sdkerrors.Register(SubModuleName, 13, "invalid light client misbehaviour") + var ErrInvalidSubstitute = sdkerrors.Register(SubModuleName, 27, "invalid client state substitute") + var ErrInvalidUpdateClientProposal = sdkerrors.Register(SubModuleName, 24, "invalid update client proposal") + var ErrInvalidUpgradeClient = sdkerrors.Register(SubModuleName, 25, "invalid client upgrade") + var ErrInvalidUpgradeProposal = sdkerrors.Register(SubModuleName, 28, "invalid upgrade proposal") + var ErrRootNotFound = sdkerrors.Register(SubModuleName, 11, "commitment root not found") + var ErrSelfConsensusStateNotFound = sdkerrors.Register(SubModuleName, 22, "self consensus state not found") + var ErrUnexpectedEndOfGroupClient = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUpdateClientFailed = sdkerrors.Register(SubModuleName, 23, "unable to update light client") + var EventTypeCreateClient = "create_client" + var EventTypeSubmitMisbehaviour = "client_misbehaviour" + var EventTypeUpdateClient = "update_client" + var EventTypeUpdateClientProposal = "update_client_proposal" + var EventTypeUpgradeClient = "upgrade_client" + var IsClientIDFormat = regexp.MustCompile(`^.*[^\n-]-[0-9]{1,20}$`).MatchString + var IsRevisionFormat = regexp.MustCompile(`^.*[^\n-]-{1}[1-9][0-9]*$`).MatchString + var KeyAllowedClients = []byte("AllowedClients") + func FormatClientIdentifier(clientType string, sequence uint64) string + func IsValidClientID(clientID string) bool + func MarshalClientState(cdc *codec.CodecProxy, clientStateI exported.ClientState) ([]byte, error) + func MarshalConsensusState(cdc *codec.CodecProxy, cs exported.ConsensusState) ([]byte, error) + func MarshalHeader(cdc *codec.CodecProxy, h exported.Header) ([]byte, error) + func MustMarshalClientState(cdc *codec.CodecProxy, clientState exported.ClientState) []byte + func MustMarshalConsensusState(cdc *codec.CodecProxy, consensusState exported.ConsensusState) []byte + func MustMarshalHeader(cdc *codec.CodecProxy, header exported.Header) []byte + func MustPackConsensusState(consensusState exported.ConsensusState) *codectypes.Any + func MustUnmarshalClientState(cdc *codec.CodecProxy, bz []byte) exported.ClientState + func MustUnmarshalConsensusState(cdc *codec.CodecProxy, bz []byte) exported.ConsensusState + func NewClientUpdateProposal(title, description, subjectClientID, substituteClientID string) govtypes.Content + func PackClientState(clientState exported.ClientState) (*codectypes.Any, error) + func PackConsensusState(consensusState exported.ConsensusState) (*codectypes.Any, error) + func PackHeader(header exported.Header) (*codectypes.Any, error) + func PackMisbehaviour(misbehaviour exported.Misbehaviour) (*codectypes.Any, error) + func ParamKeyTable() paramtypes.KeyTable + func ParseChainID(chainID string) uint64 + func ParseClientIdentifier(clientID string) (string, uint64, error) + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func SetRevisionNumber(chainID string, revision uint64) (string, error) + func UnmarshalClientState(cdc *codec.CodecProxy, bz []byte) (exported.ClientState, error) + func UnmarshalConsensusState(cdc *codec.CodecProxy, bz []byte) (exported.ConsensusState, error) + func UnmarshalHeader(cdc codec.BinaryMarshaler, bz []byte) (exported.Header, error) + func UnpackClientState(any *codectypes.Any) (exported.ClientState, error) + func UnpackConsensusState(any *codectypes.Any) (exported.ConsensusState, error) + func UnpackHeader(any *codectypes.Any) (exported.Header, error) + func UnpackMisbehaviour(any *codectypes.Any) (exported.Misbehaviour, error) + func ValidateClientType(clientType string) error + type ClientConsensusStates struct + ClientId string + ConsensusStates []ConsensusStateWithHeight + func NewClientConsensusStates(clientID string, consensusStates []ConsensusStateWithHeight) ClientConsensusStates + func (*ClientConsensusStates) Descriptor() ([]byte, []int) + func (*ClientConsensusStates) ProtoMessage() + func (ccs ClientConsensusStates) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (m *ClientConsensusStates) GetClientId() string + func (m *ClientConsensusStates) GetConsensusStates() []ConsensusStateWithHeight + func (m *ClientConsensusStates) Marshal() (dAtA []byte, err error) + func (m *ClientConsensusStates) MarshalTo(dAtA []byte) (int, error) + func (m *ClientConsensusStates) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ClientConsensusStates) Reset() + func (m *ClientConsensusStates) Size() (n int) + func (m *ClientConsensusStates) String() string + func (m *ClientConsensusStates) Unmarshal(dAtA []byte) error + func (m *ClientConsensusStates) XXX_DiscardUnknown() + func (m *ClientConsensusStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClientConsensusStates) XXX_Merge(src proto.Message) + func (m *ClientConsensusStates) XXX_Size() int + func (m *ClientConsensusStates) XXX_Unmarshal(b []byte) error + type ClientUpdateProposal struct + Description string + SubjectClientId string + SubstituteClientId string + Title string + func (*ClientUpdateProposal) Descriptor() ([]byte, []int) + func (*ClientUpdateProposal) ProtoMessage() + func (cup *ClientUpdateProposal) GetDescription() string + func (cup *ClientUpdateProposal) GetTitle() string + func (cup *ClientUpdateProposal) ProposalRoute() string + func (cup *ClientUpdateProposal) ProposalType() string + func (cup *ClientUpdateProposal) ValidateBasic() error + func (m *ClientUpdateProposal) Marshal() (dAtA []byte, err error) + func (m *ClientUpdateProposal) MarshalTo(dAtA []byte) (int, error) + func (m *ClientUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ClientUpdateProposal) Reset() + func (m *ClientUpdateProposal) Size() (n int) + func (m *ClientUpdateProposal) String() string + func (m *ClientUpdateProposal) Unmarshal(dAtA []byte) error + func (m *ClientUpdateProposal) XXX_DiscardUnknown() + func (m *ClientUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClientUpdateProposal) XXX_Merge(src proto.Message) + func (m *ClientUpdateProposal) XXX_Size() int + func (m *ClientUpdateProposal) XXX_Unmarshal(b []byte) error + type ClientsConsensusStates []ClientConsensusStates + func (ccs ClientsConsensusStates) Len() int + func (ccs ClientsConsensusStates) Less(i, j int) bool + func (ccs ClientsConsensusStates) Sort() ClientsConsensusStates + func (ccs ClientsConsensusStates) Swap(i, j int) + func (ccs ClientsConsensusStates) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type ConsensusStateWithHeight struct + ConsensusState *types.Any + Height Height + func NewConsensusStateWithHeight(height Height, consensusState exported.ConsensusState) ConsensusStateWithHeight + func (*ConsensusStateWithHeight) Descriptor() ([]byte, []int) + func (*ConsensusStateWithHeight) ProtoMessage() + func (cswh ConsensusStateWithHeight) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (m *ConsensusStateWithHeight) GetConsensusState() *types.Any + func (m *ConsensusStateWithHeight) GetHeight() Height + func (m *ConsensusStateWithHeight) Marshal() (dAtA []byte, err error) + func (m *ConsensusStateWithHeight) MarshalTo(dAtA []byte) (int, error) + func (m *ConsensusStateWithHeight) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ConsensusStateWithHeight) Reset() + func (m *ConsensusStateWithHeight) Size() (n int) + func (m *ConsensusStateWithHeight) String() string + func (m *ConsensusStateWithHeight) Unmarshal(dAtA []byte) error + func (m *ConsensusStateWithHeight) XXX_DiscardUnknown() + func (m *ConsensusStateWithHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConsensusStateWithHeight) XXX_Merge(src proto.Message) + func (m *ConsensusStateWithHeight) XXX_Size() int + func (m *ConsensusStateWithHeight) XXX_Unmarshal(b []byte) error + type GenesisMetadata struct + Key []byte + Value []byte + func NewGenesisMetadata(key, val []byte) GenesisMetadata + func (*GenesisMetadata) Descriptor() ([]byte, []int) + func (*GenesisMetadata) ProtoMessage() + func (gm GenesisMetadata) GetKey() []byte + func (gm GenesisMetadata) GetValue() []byte + func (gm GenesisMetadata) Validate() error + func (m *GenesisMetadata) Marshal() (dAtA []byte, err error) + func (m *GenesisMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisMetadata) Reset() + func (m *GenesisMetadata) Size() (n int) + func (m *GenesisMetadata) String() string + func (m *GenesisMetadata) Unmarshal(dAtA []byte) error + func (m *GenesisMetadata) XXX_DiscardUnknown() + func (m *GenesisMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisMetadata) XXX_Merge(src proto.Message) + func (m *GenesisMetadata) XXX_Size() int + func (m *GenesisMetadata) XXX_Unmarshal(b []byte) error + type GenesisState struct + Clients IdentifiedClientStates + ClientsConsensus ClientsConsensusStates + ClientsMetadata []IdentifiedGenesisMetadata + CreateLocalhost bool + NextClientSequence uint64 + Params Params + func DefaultGenesisState() GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (gs GenesisState) Validate() error + func (m *GenesisState) GetClients() IdentifiedClientStates + func (m *GenesisState) GetClientsConsensus() ClientsConsensusStates + func (m *GenesisState) GetClientsMetadata() []IdentifiedGenesisMetadata + func (m *GenesisState) GetCreateLocalhost() bool + func (m *GenesisState) GetNextClientSequence() uint64 + func (m *GenesisState) GetParams() Params + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type Height struct + RevisionHeight uint64 + RevisionNumber uint64 + func GetSelfHeight(ctx sdk.Context) Height + func MustParseHeight(heightStr string) Height + func NewHeight(revisionNumber, revisionHeight uint64) Height + func ParseHeight(heightStr string) (Height, error) + func ZeroHeight() Height + func (*Height) Descriptor() ([]byte, []int) + func (*Height) ProtoMessage() + func (h Height) Compare(other exported.Height) int64 + func (h Height) Decrement() (decremented exported.Height, success bool) + func (h Height) EQ(other exported.Height) bool + func (h Height) GT(other exported.Height) bool + func (h Height) GTE(other exported.Height) bool + func (h Height) GetRevisionHeight() uint64 + func (h Height) GetRevisionNumber() uint64 + func (h Height) Increment() exported.Height + func (h Height) IsZero() bool + func (h Height) LT(other exported.Height) bool + func (h Height) LTE(other exported.Height) bool + func (h Height) String() string + func (m *Height) Marshal() (dAtA []byte, err error) + func (m *Height) MarshalTo(dAtA []byte) (int, error) + func (m *Height) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Height) Reset() + func (m *Height) Size() (n int) + func (m *Height) Unmarshal(dAtA []byte) error + func (m *Height) XXX_DiscardUnknown() + func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Height) XXX_Merge(src proto.Message) + func (m *Height) XXX_Size() int + func (m *Height) XXX_Unmarshal(b []byte) error + type IdentifiedClientState struct + ClientId string + ClientState *types.Any + func NewIdentifiedClientState(clientID string, clientState exported.ClientState) IdentifiedClientState + func (*IdentifiedClientState) Descriptor() ([]byte, []int) + func (*IdentifiedClientState) ProtoMessage() + func (ics IdentifiedClientState) UnpackInterfaces(unpacker types.AnyUnpacker) error + func (m *IdentifiedClientState) GetClientId() string + func (m *IdentifiedClientState) GetClientState() *types.Any + func (m *IdentifiedClientState) Marshal() (dAtA []byte, err error) + func (m *IdentifiedClientState) MarshalTo(dAtA []byte) (int, error) + func (m *IdentifiedClientState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IdentifiedClientState) Reset() + func (m *IdentifiedClientState) Size() (n int) + func (m *IdentifiedClientState) String() string + func (m *IdentifiedClientState) Unmarshal(dAtA []byte) error + func (m *IdentifiedClientState) XXX_DiscardUnknown() + func (m *IdentifiedClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IdentifiedClientState) XXX_Merge(src proto.Message) + func (m *IdentifiedClientState) XXX_Size() int + func (m *IdentifiedClientState) XXX_Unmarshal(b []byte) error + type IdentifiedClientStates []IdentifiedClientState + func (ics IdentifiedClientStates) Len() int + func (ics IdentifiedClientStates) Less(i, j int) bool + func (ics IdentifiedClientStates) Sort() IdentifiedClientStates + func (ics IdentifiedClientStates) Swap(i, j int) + type IdentifiedGenesisMetadata struct + ClientId string + ClientMetadata []GenesisMetadata + func NewIdentifiedGenesisMetadata(clientID string, gms []GenesisMetadata) IdentifiedGenesisMetadata + func (*IdentifiedGenesisMetadata) Descriptor() ([]byte, []int) + func (*IdentifiedGenesisMetadata) ProtoMessage() + func (m *IdentifiedGenesisMetadata) GetClientId() string + func (m *IdentifiedGenesisMetadata) GetClientMetadata() []GenesisMetadata + func (m *IdentifiedGenesisMetadata) Marshal() (dAtA []byte, err error) + func (m *IdentifiedGenesisMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *IdentifiedGenesisMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *IdentifiedGenesisMetadata) Reset() + func (m *IdentifiedGenesisMetadata) Size() (n int) + func (m *IdentifiedGenesisMetadata) String() string + func (m *IdentifiedGenesisMetadata) Unmarshal(dAtA []byte) error + func (m *IdentifiedGenesisMetadata) XXX_DiscardUnknown() + func (m *IdentifiedGenesisMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IdentifiedGenesisMetadata) XXX_Merge(src proto.Message) + func (m *IdentifiedGenesisMetadata) XXX_Size() int + func (m *IdentifiedGenesisMetadata) XXX_Unmarshal(b []byte) error + type MsgClient interface + CreateClient func(ctx context.Context, in *MsgCreateClient, opts ...grpc.CallOption) (*MsgCreateClientResponse, error) + SubmitMisbehaviour func(ctx context.Context, in *MsgSubmitMisbehaviour, opts ...grpc.CallOption) (*MsgSubmitMisbehaviourResponse, error) + UpdateClient func(ctx context.Context, in *MsgUpdateClient, opts ...grpc.CallOption) (*MsgUpdateClientResponse, error) + UpgradeClient func(ctx context.Context, in *MsgUpgradeClient, opts ...grpc.CallOption) (*MsgUpgradeClientResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateClient struct + ClientState *types.Any + ConsensusState *types.Any + Signer string + func NewMsgCreateClient(clientState exported.ClientState, consensusState exported.ConsensusState, ...) (*MsgCreateClient, error) + func (*MsgCreateClient) Descriptor() ([]byte, []int) + func (*MsgCreateClient) ProtoMessage() + func (m *MsgCreateClient) Marshal() (dAtA []byte, err error) + func (m *MsgCreateClient) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateClient) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateClient) Reset() + func (m *MsgCreateClient) Size() (n int) + func (m *MsgCreateClient) String() string + func (m *MsgCreateClient) Unmarshal(dAtA []byte) error + func (m *MsgCreateClient) XXX_DiscardUnknown() + func (m *MsgCreateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateClient) XXX_Merge(src proto.Message) + func (m *MsgCreateClient) XXX_Size() int + func (m *MsgCreateClient) XXX_Unmarshal(b []byte) error + func (msg MsgCreateClient) GetSignBytes() []byte + func (msg MsgCreateClient) GetSigners() []sdk.AccAddress + func (msg MsgCreateClient) Route() string + func (msg MsgCreateClient) Type() string + func (msg MsgCreateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (msg MsgCreateClient) ValidateBasic() error + type MsgCreateClientResponse struct + func (*MsgCreateClientResponse) Descriptor() ([]byte, []int) + func (*MsgCreateClientResponse) ProtoMessage() + func (m *MsgCreateClientResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateClientResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateClientResponse) Reset() + func (m *MsgCreateClientResponse) Size() (n int) + func (m *MsgCreateClientResponse) String() string + func (m *MsgCreateClientResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateClientResponse) XXX_DiscardUnknown() + func (m *MsgCreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateClientResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateClientResponse) XXX_Size() int + func (m *MsgCreateClientResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + CreateClient func(context.Context, *MsgCreateClient) (*MsgCreateClientResponse, error) + SubmitMisbehaviour func(context.Context, *MsgSubmitMisbehaviour) (*MsgSubmitMisbehaviourResponse, error) + UpdateClient func(context.Context, *MsgUpdateClient) (*MsgUpdateClientResponse, error) + UpgradeClient func(context.Context, *MsgUpgradeClient) (*MsgUpgradeClientResponse, error) + type MsgSubmitMisbehaviour struct + ClientId string + Misbehaviour *types.Any + Signer string + func NewMsgSubmitMisbehaviour(clientID string, misbehaviour exported.Misbehaviour, signer sdk.AccAddress) (*MsgSubmitMisbehaviour, error) + func (*MsgSubmitMisbehaviour) Descriptor() ([]byte, []int) + func (*MsgSubmitMisbehaviour) ProtoMessage() + func (m *MsgSubmitMisbehaviour) Marshal() (dAtA []byte, err error) + func (m *MsgSubmitMisbehaviour) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSubmitMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSubmitMisbehaviour) Reset() + func (m *MsgSubmitMisbehaviour) Size() (n int) + func (m *MsgSubmitMisbehaviour) String() string + func (m *MsgSubmitMisbehaviour) Unmarshal(dAtA []byte) error + func (m *MsgSubmitMisbehaviour) XXX_DiscardUnknown() + func (m *MsgSubmitMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSubmitMisbehaviour) XXX_Merge(src proto.Message) + func (m *MsgSubmitMisbehaviour) XXX_Size() int + func (m *MsgSubmitMisbehaviour) XXX_Unmarshal(b []byte) error + func (msg MsgSubmitMisbehaviour) GetSignBytes() []byte + func (msg MsgSubmitMisbehaviour) GetSigners() []sdk.AccAddress + func (msg MsgSubmitMisbehaviour) Route() string + func (msg MsgSubmitMisbehaviour) Type() string + func (msg MsgSubmitMisbehaviour) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (msg MsgSubmitMisbehaviour) ValidateBasic() error + type MsgSubmitMisbehaviourResponse struct + func (*MsgSubmitMisbehaviourResponse) Descriptor() ([]byte, []int) + func (*MsgSubmitMisbehaviourResponse) ProtoMessage() + func (m *MsgSubmitMisbehaviourResponse) Marshal() (dAtA []byte, err error) + func (m *MsgSubmitMisbehaviourResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSubmitMisbehaviourResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSubmitMisbehaviourResponse) Reset() + func (m *MsgSubmitMisbehaviourResponse) Size() (n int) + func (m *MsgSubmitMisbehaviourResponse) String() string + func (m *MsgSubmitMisbehaviourResponse) Unmarshal(dAtA []byte) error + func (m *MsgSubmitMisbehaviourResponse) XXX_DiscardUnknown() + func (m *MsgSubmitMisbehaviourResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSubmitMisbehaviourResponse) XXX_Merge(src proto.Message) + func (m *MsgSubmitMisbehaviourResponse) XXX_Size() int + func (m *MsgSubmitMisbehaviourResponse) XXX_Unmarshal(b []byte) error + type MsgUpdateClient struct + ClientId string + Header *types.Any + Signer string + func NewMsgUpdateClient(id string, header exported.Header, signer sdk.AccAddress) (*MsgUpdateClient, error) + func (*MsgUpdateClient) Descriptor() ([]byte, []int) + func (*MsgUpdateClient) ProtoMessage() + func (m *MsgUpdateClient) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateClient) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateClient) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateClient) Reset() + func (m *MsgUpdateClient) Size() (n int) + func (m *MsgUpdateClient) String() string + func (m *MsgUpdateClient) Unmarshal(dAtA []byte) error + func (m *MsgUpdateClient) XXX_DiscardUnknown() + func (m *MsgUpdateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateClient) XXX_Merge(src proto.Message) + func (m *MsgUpdateClient) XXX_Size() int + func (m *MsgUpdateClient) XXX_Unmarshal(b []byte) error + func (msg MsgUpdateClient) GetSignBytes() []byte + func (msg MsgUpdateClient) GetSigners() []sdk.AccAddress + func (msg MsgUpdateClient) Route() string + func (msg MsgUpdateClient) Type() string + func (msg MsgUpdateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (msg MsgUpdateClient) ValidateBasic() error + type MsgUpdateClientResponse struct + func (*MsgUpdateClientResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateClientResponse) ProtoMessage() + func (m *MsgUpdateClientResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateClientResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateClientResponse) Reset() + func (m *MsgUpdateClientResponse) Size() (n int) + func (m *MsgUpdateClientResponse) String() string + func (m *MsgUpdateClientResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateClientResponse) XXX_DiscardUnknown() + func (m *MsgUpdateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateClientResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateClientResponse) XXX_Size() int + func (m *MsgUpdateClientResponse) XXX_Unmarshal(b []byte) error + type MsgUpgradeClient struct + ClientId string + ClientState *types.Any + ConsensusState *types.Any + ProofUpgradeClient []byte + ProofUpgradeConsensusState []byte + Signer string + func NewMsgUpgradeClient(clientID string, clientState exported.ClientState, ...) (*MsgUpgradeClient, error) + func (*MsgUpgradeClient) Descriptor() ([]byte, []int) + func (*MsgUpgradeClient) ProtoMessage() + func (m *MsgUpgradeClient) Marshal() (dAtA []byte, err error) + func (m *MsgUpgradeClient) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpgradeClient) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpgradeClient) Reset() + func (m *MsgUpgradeClient) Size() (n int) + func (m *MsgUpgradeClient) String() string + func (m *MsgUpgradeClient) Unmarshal(dAtA []byte) error + func (m *MsgUpgradeClient) XXX_DiscardUnknown() + func (m *MsgUpgradeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpgradeClient) XXX_Merge(src proto.Message) + func (m *MsgUpgradeClient) XXX_Size() int + func (m *MsgUpgradeClient) XXX_Unmarshal(b []byte) error + func (msg MsgUpgradeClient) GetSignBytes() []byte + func (msg MsgUpgradeClient) GetSigners() []sdk.AccAddress + func (msg MsgUpgradeClient) Route() string + func (msg MsgUpgradeClient) Type() string + func (msg MsgUpgradeClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (msg MsgUpgradeClient) ValidateBasic() error + type MsgUpgradeClientResponse struct + func (*MsgUpgradeClientResponse) Descriptor() ([]byte, []int) + func (*MsgUpgradeClientResponse) ProtoMessage() + func (m *MsgUpgradeClientResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpgradeClientResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpgradeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpgradeClientResponse) Reset() + func (m *MsgUpgradeClientResponse) Size() (n int) + func (m *MsgUpgradeClientResponse) String() string + func (m *MsgUpgradeClientResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpgradeClientResponse) XXX_DiscardUnknown() + func (m *MsgUpgradeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpgradeClientResponse) XXX_Merge(src proto.Message) + func (m *MsgUpgradeClientResponse) XXX_Size() int + func (m *MsgUpgradeClientResponse) XXX_Unmarshal(b []byte) error + type Params struct + AllowedClients []string + func DefaultParams() Params + func NewParams(allowedClients ...string) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetAllowedClients() []string + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) IsAllowedClient(clientType string) bool + func (p Params) Validate() error + type QueryClient interface + ClientParams func(ctx context.Context, in *QueryClientParamsRequest, opts ...grpc.CallOption) (*QueryClientParamsResponse, error) + ClientState func(ctx context.Context, in *QueryClientStateRequest, opts ...grpc.CallOption) (*QueryClientStateResponse, error) + ClientStates func(ctx context.Context, in *QueryClientStatesRequest, opts ...grpc.CallOption) (*QueryClientStatesResponse, error) + ClientStatus func(ctx context.Context, in *QueryClientStatusRequest, opts ...grpc.CallOption) (*QueryClientStatusResponse, error) + ConsensusState func(ctx context.Context, in *QueryConsensusStateRequest, opts ...grpc.CallOption) (*QueryConsensusStateResponse, error) + ConsensusStateHeights func(ctx context.Context, in *QueryConsensusStateHeightsRequest, ...) (*QueryConsensusStateHeightsResponse, error) + ConsensusStates func(ctx context.Context, in *QueryConsensusStatesRequest, opts ...grpc.CallOption) (*QueryConsensusStatesResponse, error) + UpgradedClientState func(ctx context.Context, in *QueryUpgradedClientStateRequest, ...) (*QueryUpgradedClientStateResponse, error) + UpgradedConsensusState func(ctx context.Context, in *QueryUpgradedConsensusStateRequest, ...) (*QueryUpgradedConsensusStateResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryClientParamsRequest struct + func (*QueryClientParamsRequest) Descriptor() ([]byte, []int) + func (*QueryClientParamsRequest) ProtoMessage() + func (m *QueryClientParamsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryClientParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientParamsRequest) Reset() + func (m *QueryClientParamsRequest) Size() (n int) + func (m *QueryClientParamsRequest) String() string + func (m *QueryClientParamsRequest) Unmarshal(dAtA []byte) error + func (m *QueryClientParamsRequest) XXX_DiscardUnknown() + func (m *QueryClientParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientParamsRequest) XXX_Merge(src proto.Message) + func (m *QueryClientParamsRequest) XXX_Size() int + func (m *QueryClientParamsRequest) XXX_Unmarshal(b []byte) error + type QueryClientParamsResponse struct + Params *Params + func (*QueryClientParamsResponse) Descriptor() ([]byte, []int) + func (*QueryClientParamsResponse) ProtoMessage() + func (m *QueryClientParamsResponse) GetParams() *Params + func (m *QueryClientParamsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryClientParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientParamsResponse) Reset() + func (m *QueryClientParamsResponse) Size() (n int) + func (m *QueryClientParamsResponse) String() string + func (m *QueryClientParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryClientParamsResponse) XXX_DiscardUnknown() + func (m *QueryClientParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryClientParamsResponse) XXX_Size() int + func (m *QueryClientParamsResponse) XXX_Unmarshal(b []byte) error + type QueryClientStateRequest struct + ClientId string + func (*QueryClientStateRequest) Descriptor() ([]byte, []int) + func (*QueryClientStateRequest) ProtoMessage() + func (m *QueryClientStateRequest) GetClientId() string + func (m *QueryClientStateRequest) Marshal() (dAtA []byte, err error) + func (m *QueryClientStateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientStateRequest) Reset() + func (m *QueryClientStateRequest) Size() (n int) + func (m *QueryClientStateRequest) String() string + func (m *QueryClientStateRequest) Unmarshal(dAtA []byte) error + func (m *QueryClientStateRequest) XXX_DiscardUnknown() + func (m *QueryClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientStateRequest) XXX_Merge(src proto.Message) + func (m *QueryClientStateRequest) XXX_Size() int + func (m *QueryClientStateRequest) XXX_Unmarshal(b []byte) error + type QueryClientStateResponse struct + ClientState *types.Any + Proof []byte + ProofHeight Height + func NewQueryClientStateResponse(clientStateAny *codectypes.Any, proof []byte, height Height) *QueryClientStateResponse + func (*QueryClientStateResponse) Descriptor() ([]byte, []int) + func (*QueryClientStateResponse) ProtoMessage() + func (m *QueryClientStateResponse) GetClientState() *types.Any + func (m *QueryClientStateResponse) GetProof() []byte + func (m *QueryClientStateResponse) GetProofHeight() Height + func (m *QueryClientStateResponse) Marshal() (dAtA []byte, err error) + func (m *QueryClientStateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientStateResponse) Reset() + func (m *QueryClientStateResponse) Size() (n int) + func (m *QueryClientStateResponse) String() string + func (m *QueryClientStateResponse) Unmarshal(dAtA []byte) error + func (m *QueryClientStateResponse) XXX_DiscardUnknown() + func (m *QueryClientStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientStateResponse) XXX_Merge(src proto.Message) + func (m *QueryClientStateResponse) XXX_Size() int + func (m *QueryClientStateResponse) XXX_Unmarshal(b []byte) error + func (qcsr QueryClientStateResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type QueryClientStatesRequest struct + Pagination *query.PageRequest + func (*QueryClientStatesRequest) Descriptor() ([]byte, []int) + func (*QueryClientStatesRequest) ProtoMessage() + func (m *QueryClientStatesRequest) GetPagination() *query.PageRequest + func (m *QueryClientStatesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryClientStatesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientStatesRequest) Reset() + func (m *QueryClientStatesRequest) Size() (n int) + func (m *QueryClientStatesRequest) String() string + func (m *QueryClientStatesRequest) Unmarshal(dAtA []byte) error + func (m *QueryClientStatesRequest) XXX_DiscardUnknown() + func (m *QueryClientStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientStatesRequest) XXX_Merge(src proto.Message) + func (m *QueryClientStatesRequest) XXX_Size() int + func (m *QueryClientStatesRequest) XXX_Unmarshal(b []byte) error + type QueryClientStatesResponse struct + ClientStates IdentifiedClientStates + Pagination *query.PageResponse + func (*QueryClientStatesResponse) Descriptor() ([]byte, []int) + func (*QueryClientStatesResponse) ProtoMessage() + func (m *QueryClientStatesResponse) GetClientStates() IdentifiedClientStates + func (m *QueryClientStatesResponse) GetPagination() *query.PageResponse + func (m *QueryClientStatesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryClientStatesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientStatesResponse) Reset() + func (m *QueryClientStatesResponse) Size() (n int) + func (m *QueryClientStatesResponse) String() string + func (m *QueryClientStatesResponse) Unmarshal(dAtA []byte) error + func (m *QueryClientStatesResponse) XXX_DiscardUnknown() + func (m *QueryClientStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientStatesResponse) XXX_Merge(src proto.Message) + func (m *QueryClientStatesResponse) XXX_Size() int + func (m *QueryClientStatesResponse) XXX_Unmarshal(b []byte) error + func (qcsr QueryClientStatesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type QueryClientStatusRequest struct + ClientId string + func (*QueryClientStatusRequest) Descriptor() ([]byte, []int) + func (*QueryClientStatusRequest) ProtoMessage() + func (m *QueryClientStatusRequest) GetClientId() string + func (m *QueryClientStatusRequest) Marshal() (dAtA []byte, err error) + func (m *QueryClientStatusRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientStatusRequest) Reset() + func (m *QueryClientStatusRequest) Size() (n int) + func (m *QueryClientStatusRequest) String() string + func (m *QueryClientStatusRequest) Unmarshal(dAtA []byte) error + func (m *QueryClientStatusRequest) XXX_DiscardUnknown() + func (m *QueryClientStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientStatusRequest) XXX_Merge(src proto.Message) + func (m *QueryClientStatusRequest) XXX_Size() int + func (m *QueryClientStatusRequest) XXX_Unmarshal(b []byte) error + type QueryClientStatusResponse struct + Status string + func (*QueryClientStatusResponse) Descriptor() ([]byte, []int) + func (*QueryClientStatusResponse) ProtoMessage() + func (m *QueryClientStatusResponse) GetStatus() string + func (m *QueryClientStatusResponse) Marshal() (dAtA []byte, err error) + func (m *QueryClientStatusResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryClientStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryClientStatusResponse) Reset() + func (m *QueryClientStatusResponse) Size() (n int) + func (m *QueryClientStatusResponse) String() string + func (m *QueryClientStatusResponse) Unmarshal(dAtA []byte) error + func (m *QueryClientStatusResponse) XXX_DiscardUnknown() + func (m *QueryClientStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryClientStatusResponse) XXX_Merge(src proto.Message) + func (m *QueryClientStatusResponse) XXX_Size() int + func (m *QueryClientStatusResponse) XXX_Unmarshal(b []byte) error + type QueryConsensusStateHeightsRequest struct + ClientId string + Pagination *query.PageRequest + func (*QueryConsensusStateHeightsRequest) Descriptor() ([]byte, []int) + func (*QueryConsensusStateHeightsRequest) ProtoMessage() + func (m *QueryConsensusStateHeightsRequest) GetClientId() string + func (m *QueryConsensusStateHeightsRequest) GetPagination() *query.PageRequest + func (m *QueryConsensusStateHeightsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryConsensusStateHeightsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryConsensusStateHeightsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryConsensusStateHeightsRequest) Reset() + func (m *QueryConsensusStateHeightsRequest) Size() (n int) + func (m *QueryConsensusStateHeightsRequest) String() string + func (m *QueryConsensusStateHeightsRequest) Unmarshal(dAtA []byte) error + func (m *QueryConsensusStateHeightsRequest) XXX_DiscardUnknown() + func (m *QueryConsensusStateHeightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConsensusStateHeightsRequest) XXX_Merge(src proto.Message) + func (m *QueryConsensusStateHeightsRequest) XXX_Size() int + func (m *QueryConsensusStateHeightsRequest) XXX_Unmarshal(b []byte) error + type QueryConsensusStateHeightsResponse struct + ConsensusStateHeights []Height + Pagination *query.PageResponse + func (*QueryConsensusStateHeightsResponse) Descriptor() ([]byte, []int) + func (*QueryConsensusStateHeightsResponse) ProtoMessage() + func (m *QueryConsensusStateHeightsResponse) GetConsensusStateHeights() []Height + func (m *QueryConsensusStateHeightsResponse) GetPagination() *query.PageResponse + func (m *QueryConsensusStateHeightsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryConsensusStateHeightsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryConsensusStateHeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryConsensusStateHeightsResponse) Reset() + func (m *QueryConsensusStateHeightsResponse) Size() (n int) + func (m *QueryConsensusStateHeightsResponse) String() string + func (m *QueryConsensusStateHeightsResponse) Unmarshal(dAtA []byte) error + func (m *QueryConsensusStateHeightsResponse) XXX_DiscardUnknown() + func (m *QueryConsensusStateHeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConsensusStateHeightsResponse) XXX_Merge(src proto.Message) + func (m *QueryConsensusStateHeightsResponse) XXX_Size() int + func (m *QueryConsensusStateHeightsResponse) XXX_Unmarshal(b []byte) error + type QueryConsensusStateRequest struct + ClientId string + LatestHeight bool + RevisionHeight uint64 + RevisionNumber uint64 + func (*QueryConsensusStateRequest) Descriptor() ([]byte, []int) + func (*QueryConsensusStateRequest) ProtoMessage() + func (m *QueryConsensusStateRequest) GetClientId() string + func (m *QueryConsensusStateRequest) GetLatestHeight() bool + func (m *QueryConsensusStateRequest) GetRevisionHeight() uint64 + func (m *QueryConsensusStateRequest) GetRevisionNumber() uint64 + func (m *QueryConsensusStateRequest) Marshal() (dAtA []byte, err error) + func (m *QueryConsensusStateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryConsensusStateRequest) Reset() + func (m *QueryConsensusStateRequest) Size() (n int) + func (m *QueryConsensusStateRequest) String() string + func (m *QueryConsensusStateRequest) Unmarshal(dAtA []byte) error + func (m *QueryConsensusStateRequest) XXX_DiscardUnknown() + func (m *QueryConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConsensusStateRequest) XXX_Merge(src proto.Message) + func (m *QueryConsensusStateRequest) XXX_Size() int + func (m *QueryConsensusStateRequest) XXX_Unmarshal(b []byte) error + type QueryConsensusStateResponse struct + ConsensusState *types.Any + Proof []byte + ProofHeight Height + func NewQueryConsensusStateResponse(consensusStateAny *codectypes.Any, proof []byte, height Height) *QueryConsensusStateResponse + func (*QueryConsensusStateResponse) Descriptor() ([]byte, []int) + func (*QueryConsensusStateResponse) ProtoMessage() + func (m *QueryConsensusStateResponse) GetConsensusState() *types.Any + func (m *QueryConsensusStateResponse) GetProof() []byte + func (m *QueryConsensusStateResponse) GetProofHeight() Height + func (m *QueryConsensusStateResponse) Marshal() (dAtA []byte, err error) + func (m *QueryConsensusStateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryConsensusStateResponse) Reset() + func (m *QueryConsensusStateResponse) Size() (n int) + func (m *QueryConsensusStateResponse) String() string + func (m *QueryConsensusStateResponse) Unmarshal(dAtA []byte) error + func (m *QueryConsensusStateResponse) XXX_DiscardUnknown() + func (m *QueryConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConsensusStateResponse) XXX_Merge(src proto.Message) + func (m *QueryConsensusStateResponse) XXX_Size() int + func (m *QueryConsensusStateResponse) XXX_Unmarshal(b []byte) error + func (qcsr QueryConsensusStateResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type QueryConsensusStatesRequest struct + ClientId string + Pagination *query.PageRequest + func (*QueryConsensusStatesRequest) Descriptor() ([]byte, []int) + func (*QueryConsensusStatesRequest) ProtoMessage() + func (m *QueryConsensusStatesRequest) GetClientId() string + func (m *QueryConsensusStatesRequest) GetPagination() *query.PageRequest + func (m *QueryConsensusStatesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryConsensusStatesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryConsensusStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryConsensusStatesRequest) Reset() + func (m *QueryConsensusStatesRequest) Size() (n int) + func (m *QueryConsensusStatesRequest) String() string + func (m *QueryConsensusStatesRequest) Unmarshal(dAtA []byte) error + func (m *QueryConsensusStatesRequest) XXX_DiscardUnknown() + func (m *QueryConsensusStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConsensusStatesRequest) XXX_Merge(src proto.Message) + func (m *QueryConsensusStatesRequest) XXX_Size() int + func (m *QueryConsensusStatesRequest) XXX_Unmarshal(b []byte) error + type QueryConsensusStatesResponse struct + ConsensusStates []ConsensusStateWithHeight + Pagination *query.PageResponse + func (*QueryConsensusStatesResponse) Descriptor() ([]byte, []int) + func (*QueryConsensusStatesResponse) ProtoMessage() + func (m *QueryConsensusStatesResponse) GetConsensusStates() []ConsensusStateWithHeight + func (m *QueryConsensusStatesResponse) GetPagination() *query.PageResponse + func (m *QueryConsensusStatesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryConsensusStatesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryConsensusStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryConsensusStatesResponse) Reset() + func (m *QueryConsensusStatesResponse) Size() (n int) + func (m *QueryConsensusStatesResponse) String() string + func (m *QueryConsensusStatesResponse) Unmarshal(dAtA []byte) error + func (m *QueryConsensusStatesResponse) XXX_DiscardUnknown() + func (m *QueryConsensusStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConsensusStatesResponse) XXX_Merge(src proto.Message) + func (m *QueryConsensusStatesResponse) XXX_Size() int + func (m *QueryConsensusStatesResponse) XXX_Unmarshal(b []byte) error + func (qcsr QueryConsensusStatesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + type QueryServer interface + ClientParams func(context.Context, *QueryClientParamsRequest) (*QueryClientParamsResponse, error) + ClientState func(context.Context, *QueryClientStateRequest) (*QueryClientStateResponse, error) + ClientStates func(context.Context, *QueryClientStatesRequest) (*QueryClientStatesResponse, error) + ClientStatus func(context.Context, *QueryClientStatusRequest) (*QueryClientStatusResponse, error) + ConsensusState func(context.Context, *QueryConsensusStateRequest) (*QueryConsensusStateResponse, error) + ConsensusStateHeights func(context.Context, *QueryConsensusStateHeightsRequest) (*QueryConsensusStateHeightsResponse, error) + ConsensusStates func(context.Context, *QueryConsensusStatesRequest) (*QueryConsensusStatesResponse, error) + UpgradedClientState func(context.Context, *QueryUpgradedClientStateRequest) (*QueryUpgradedClientStateResponse, error) + UpgradedConsensusState func(context.Context, *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error) + type QueryUpgradedClientStateRequest struct + func (*QueryUpgradedClientStateRequest) Descriptor() ([]byte, []int) + func (*QueryUpgradedClientStateRequest) ProtoMessage() + func (m *QueryUpgradedClientStateRequest) Marshal() (dAtA []byte, err error) + func (m *QueryUpgradedClientStateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryUpgradedClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryUpgradedClientStateRequest) Reset() + func (m *QueryUpgradedClientStateRequest) Size() (n int) + func (m *QueryUpgradedClientStateRequest) String() string + func (m *QueryUpgradedClientStateRequest) Unmarshal(dAtA []byte) error + func (m *QueryUpgradedClientStateRequest) XXX_DiscardUnknown() + func (m *QueryUpgradedClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryUpgradedClientStateRequest) XXX_Merge(src proto.Message) + func (m *QueryUpgradedClientStateRequest) XXX_Size() int + func (m *QueryUpgradedClientStateRequest) XXX_Unmarshal(b []byte) error + type QueryUpgradedClientStateResponse struct + UpgradedClientState *types.Any + func (*QueryUpgradedClientStateResponse) Descriptor() ([]byte, []int) + func (*QueryUpgradedClientStateResponse) ProtoMessage() + func (m *QueryUpgradedClientStateResponse) GetUpgradedClientState() *types.Any + func (m *QueryUpgradedClientStateResponse) Marshal() (dAtA []byte, err error) + func (m *QueryUpgradedClientStateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryUpgradedClientStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryUpgradedClientStateResponse) Reset() + func (m *QueryUpgradedClientStateResponse) Size() (n int) + func (m *QueryUpgradedClientStateResponse) String() string + func (m *QueryUpgradedClientStateResponse) Unmarshal(dAtA []byte) error + func (m *QueryUpgradedClientStateResponse) XXX_DiscardUnknown() + func (m *QueryUpgradedClientStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryUpgradedClientStateResponse) XXX_Merge(src proto.Message) + func (m *QueryUpgradedClientStateResponse) XXX_Size() int + func (m *QueryUpgradedClientStateResponse) XXX_Unmarshal(b []byte) error + type QueryUpgradedConsensusStateRequest struct + func (*QueryUpgradedConsensusStateRequest) Descriptor() ([]byte, []int) + func (*QueryUpgradedConsensusStateRequest) ProtoMessage() + func (m *QueryUpgradedConsensusStateRequest) Marshal() (dAtA []byte, err error) + func (m *QueryUpgradedConsensusStateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateRequest) Reset() + func (m *QueryUpgradedConsensusStateRequest) Size() (n int) + func (m *QueryUpgradedConsensusStateRequest) String() string + func (m *QueryUpgradedConsensusStateRequest) Unmarshal(dAtA []byte) error + func (m *QueryUpgradedConsensusStateRequest) XXX_DiscardUnknown() + func (m *QueryUpgradedConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryUpgradedConsensusStateRequest) XXX_Merge(src proto.Message) + func (m *QueryUpgradedConsensusStateRequest) XXX_Size() int + func (m *QueryUpgradedConsensusStateRequest) XXX_Unmarshal(b []byte) error + type QueryUpgradedConsensusStateResponse struct + UpgradedConsensusState *types.Any + func (*QueryUpgradedConsensusStateResponse) Descriptor() ([]byte, []int) + func (*QueryUpgradedConsensusStateResponse) ProtoMessage() + func (m *QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState() *types.Any + func (m *QueryUpgradedConsensusStateResponse) Marshal() (dAtA []byte, err error) + func (m *QueryUpgradedConsensusStateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryUpgradedConsensusStateResponse) Reset() + func (m *QueryUpgradedConsensusStateResponse) Size() (n int) + func (m *QueryUpgradedConsensusStateResponse) String() string + func (m *QueryUpgradedConsensusStateResponse) Unmarshal(dAtA []byte) error + func (m *QueryUpgradedConsensusStateResponse) XXX_DiscardUnknown() + func (m *QueryUpgradedConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryUpgradedConsensusStateResponse) XXX_Merge(src proto.Message) + func (m *QueryUpgradedConsensusStateResponse) XXX_Size() int + func (m *QueryUpgradedConsensusStateResponse) XXX_Unmarshal(b []byte) error + type StakingKeeper interface + GetHistoricalInfo func(ctx sdk.Context, height int64) (stakingtypes.HistoricalInfo, bool) + UnbondingTime func(ctx sdk.Context) time.Duration + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) CreateClient(ctx context.Context, req *MsgCreateClient) (*MsgCreateClientResponse, error) + func (*UnimplementedMsgServer) SubmitMisbehaviour(ctx context.Context, req *MsgSubmitMisbehaviour) (*MsgSubmitMisbehaviourResponse, error) + func (*UnimplementedMsgServer) UpdateClient(ctx context.Context, req *MsgUpdateClient) (*MsgUpdateClientResponse, error) + func (*UnimplementedMsgServer) UpgradeClient(ctx context.Context, req *MsgUpgradeClient) (*MsgUpgradeClientResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) ClientParams(ctx context.Context, req *QueryClientParamsRequest) (*QueryClientParamsResponse, error) + func (*UnimplementedQueryServer) ClientState(ctx context.Context, req *QueryClientStateRequest) (*QueryClientStateResponse, error) + func (*UnimplementedQueryServer) ClientStates(ctx context.Context, req *QueryClientStatesRequest) (*QueryClientStatesResponse, error) + func (*UnimplementedQueryServer) ClientStatus(ctx context.Context, req *QueryClientStatusRequest) (*QueryClientStatusResponse, error) + func (*UnimplementedQueryServer) ConsensusState(ctx context.Context, req *QueryConsensusStateRequest) (*QueryConsensusStateResponse, error) + func (*UnimplementedQueryServer) ConsensusStateHeights(ctx context.Context, req *QueryConsensusStateHeightsRequest) (*QueryConsensusStateHeightsResponse, error) + func (*UnimplementedQueryServer) ConsensusStates(ctx context.Context, req *QueryConsensusStatesRequest) (*QueryConsensusStatesResponse, error) + func (*UnimplementedQueryServer) UpgradedClientState(ctx context.Context, req *QueryUpgradedClientStateRequest) (*QueryUpgradedClientStateResponse, error) + func (*UnimplementedQueryServer) UpgradedConsensusState(ctx context.Context, req *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error) + type UpgradeKeeper interface + ClearIBCState func(ctx sdk.Context, lastHeight int64) + GetUpgradePlan func(ctx sdk.Context) (plan upgrade.Plan, havePlan bool) + GetUpgradedClient func(ctx sdk.Context, height int64) ([]byte, bool) + GetUpgradedConsensusState func(ctx sdk.Context, lastHeight int64) ([]byte, bool) + ScheduleUpgrade func(ctx sdk.Context, plan upgrade.Plan) error + SetUpgradedClient func(ctx sdk.Context, planHeight int64, bz []byte) error + SetUpgradedConsensusState func(ctx sdk.Context, planHeight int64, bz []byte) error + type UpgradeProposal struct + Description string + Plan types1.Plan + Title string + UpgradedClientState *types.Any + func NewUpgradeProposal(title, description string, plan types.Plan, ...) (*UpgradeProposal, error) + func (*UpgradeProposal) Descriptor() ([]byte, []int) + func (*UpgradeProposal) ProtoMessage() + func (m *UpgradeProposal) Marshal() (dAtA []byte, err error) + func (m *UpgradeProposal) MarshalTo(dAtA []byte) (int, error) + func (m *UpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpgradeProposal) Reset() + func (m *UpgradeProposal) Size() (n int) + func (m *UpgradeProposal) Unmarshal(dAtA []byte) error + func (m *UpgradeProposal) XXX_DiscardUnknown() + func (m *UpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpgradeProposal) XXX_Merge(src proto.Message) + func (m *UpgradeProposal) XXX_Size() int + func (m *UpgradeProposal) XXX_Unmarshal(b []byte) error + func (this *UpgradeProposal) Equal(that interface{}) bool + func (up *UpgradeProposal) GetDescription() string + func (up *UpgradeProposal) GetTitle() string + func (up *UpgradeProposal) ProposalRoute() string + func (up *UpgradeProposal) ProposalType() string + func (up *UpgradeProposal) String() string + func (up *UpgradeProposal) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (up *UpgradeProposal) ValidateBasic() error