evmos.proto.autogen.py.ibc.core.client.v1
Classes
|
ClientConsensusStates defines all the stored consensus states for a given client. |
|
ClientUpdateProposal is a governance proposal. |
|
ConsensusStateWithHeight defines a consensus state with an additional height field. |
|
GenesisMetadata defines the genesis type for metadata that clients may return with ExportMetadata |
|
GenesisState defines the ibc client submodule's genesis state. |
|
Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. |
|
IdentifiedClientState defines a client state with an additional client identifier field. |
|
IdentifiedGenesisMetadata has the client metadata with the corresponding client id. |
|
|
|
MsgCreateClient defines a message to create an IBC client |
MsgCreateClientResponse defines the Msg/CreateClient response type. |
|
|
|
|
MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for light client misbehaviour. |
MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response type. |
|
|
MsgUpdateClient defines an sdk.Msg to update a IBC client state using the given header. |
MsgUpdateClientResponse defines the Msg/UpdateClient response type. |
|
|
MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client state |
MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. |
|
|
Params defines the set of IBC light client parameters. |
QueryClientParamsRequest is the request type for the Query/ClientParams RPC method. |
|
|
QueryClientParamsResponse is the response type for the Query/ClientParams RPC method. |
|
QueryClientStateRequest is the request type for the Query/ClientState RPC method |
|
QueryClientStateResponse is the response type for the Query/ClientState RPC method. |
|
QueryClientStatesRequest is the request type for the Query/ClientStates RPC method |
|
QueryClientStatesResponse is the response type for the Query/ClientStates RPC method. |
|
QueryClientStatusRequest is the request type for the Query/ClientStatus RPC method |
|
QueryClientStatusResponse is the response type for the Query/ClientStatus RPC method. |
|
QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. |
|
QueryConsensusStateResponse is the response type for the Query/ConsensusState RPC method |
|
QueryConsensusStatesRequest is the request type for the Query/ConsensusStates RPC method. |
QueryConsensusStatesResponse is the response type for the Query/ConsensusStates RPC method |
|
|
|
QueryUpgradedClientStateRequest is the request type for the Query/UpgradedClientState RPC method |
|
QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method. |
|
QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method |
|
QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method. |
|
|
UpgradeProposal is a gov Content type for initiating an IBC breaking upgrade. |
- class evmos.proto.autogen.py.ibc.core.client.v1.ClientConsensusStates(client_id: str = <object object>, consensus_states: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.ConsensusStateWithHeight] = <object object>)[source]
Bases:
MessageClientConsensusStates defines all the stored consensus states for a given client.
- consensus_states: List[ConsensusStateWithHeight] = <object object>
consensus states and their heights associated with the client
- class evmos.proto.autogen.py.ibc.core.client.v1.ClientUpdateProposal(title: str = <object object>, description: str = <object object>, subject_client_id: str = <object object>, substitute_client_id: str = <object object>)[source]
Bases:
MessageClientUpdateProposal is a governance proposal. If it passes, the substitute client’s latest consensus state is copied over to the subject client. The proposal handler may fail if the subject and the substitute do not match in client and chain parameters (with exception to latest height, frozen height, and chain-id).
- subject_client_id: str = <object object>
the client identifier for the client to be updated if the proposal passes
- class evmos.proto.autogen.py.ibc.core.client.v1.ConsensusStateWithHeight(height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]
Bases:
MessageConsensusStateWithHeight defines a consensus state with an additional height field.
- consensus_state: Any = <object object>
consensus state
- class evmos.proto.autogen.py.ibc.core.client.v1.GenesisMetadata(key: bytes = <object object>, value: bytes = <object object>)[source]
Bases:
MessageGenesisMetadata defines the genesis type for metadata that clients may return with ExportMetadata
- class evmos.proto.autogen.py.ibc.core.client.v1.GenesisState(clients: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedClientState] = <object object>, clients_consensus: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.ClientConsensusStates] = <object object>, clients_metadata: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedGenesisMetadata] = <object object>, params: ~evmos.proto.autogen.py.ibc.core.client.v1.Params = <object object>, create_localhost: bool = <object object>, next_client_sequence: int = <object object>)[source]
Bases:
MessageGenesisState defines the ibc client submodule’s genesis state.
- clients: List[IdentifiedClientState] = <object object>
client states with their corresponding identifiers
- clients_consensus: List[ClientConsensusStates] = <object object>
consensus states from each client
- clients_metadata: List[IdentifiedGenesisMetadata] = <object object>
metadata from each client
- class evmos.proto.autogen.py.ibc.core.client.v1.Height(revision_number: int = <object object>, revision_height: int = <object object>)[source]
Bases:
MessageHeight is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset
- class evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedClientState(client_id: str = <object object>, client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]
Bases:
MessageIdentifiedClientState defines a client state with an additional client identifier field.
- client_state: Any = <object object>
client state
- class evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedGenesisMetadata(client_id: str = <object object>, client_metadata: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.GenesisMetadata] = <object object>)[source]
Bases:
MessageIdentifiedGenesisMetadata has the client metadata with the corresponding client id.
- client_metadata: List[GenesisMetadata] = <object object>
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgBase[source]
Bases:
ServiceBase- async create_client(msg_create_client: MsgCreateClient) MsgCreateClientResponse[source]
- async submit_misbehaviour(msg_submit_misbehaviour: MsgSubmitMisbehaviour) MsgSubmitMisbehaviourResponse[source]
- async update_client(msg_update_client: MsgUpdateClient) MsgUpdateClientResponse[source]
- async upgrade_client(msg_upgrade_client: MsgUpgradeClient) MsgUpgradeClientResponse[source]
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgCreateClient(client_state: ~betterproto.lib.google.protobuf.Any = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>, signer: str = <object object>)[source]
Bases:
MessageMsgCreateClient defines a message to create an IBC client
- client_state: Any = <object object>
light client state
- consensus_state: Any = <object object>
consensus state associated with the client that corresponds to a given height.
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgCreateClientResponse[source]
Bases:
MessageMsgCreateClientResponse defines the Msg/CreateClient response type.
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]
Bases:
ServiceStub- async create_client(msg_create_client: MsgCreateClient, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgCreateClientResponse[source]
- async submit_misbehaviour(msg_submit_misbehaviour: MsgSubmitMisbehaviour, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgSubmitMisbehaviourResponse[source]
- async update_client(msg_update_client: MsgUpdateClient, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgUpdateClientResponse[source]
- async upgrade_client(msg_upgrade_client: MsgUpgradeClient, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) MsgUpgradeClientResponse[source]
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgSubmitMisbehaviour(client_id: str = <object object>, misbehaviour: ~betterproto.lib.google.protobuf.Any = <object object>, signer: str = <object object>)[source]
Bases:
MessageMsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for light client misbehaviour.
- misbehaviour: Any = <object object>
misbehaviour used for freezing the light client
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgSubmitMisbehaviourResponse[source]
Bases:
MessageMsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response type.
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpdateClient(client_id: str = <object object>, header: ~betterproto.lib.google.protobuf.Any = <object object>, signer: str = <object object>)[source]
Bases:
MessageMsgUpdateClient defines an sdk.Msg to update a IBC client state using the given header.
- header: Any = <object object>
header to update the light client
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpdateClientResponse[source]
Bases:
MessageMsgUpdateClientResponse defines the Msg/UpdateClient response type.
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpgradeClient(client_id: str = <object object>, client_state: ~betterproto.lib.google.protobuf.Any = <object object>, consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>, proof_upgrade_client: bytes = <object object>, proof_upgrade_consensus_state: bytes = <object object>, signer: str = <object object>)[source]
Bases:
MessageMsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client state
- client_state: Any = <object object>
upgraded client state
- consensus_state: Any = <object object>
upgraded consensus state, only contains enough information to serve as a basis of trust in update logic
- class evmos.proto.autogen.py.ibc.core.client.v1.MsgUpgradeClientResponse[source]
Bases:
MessageMsgUpgradeClientResponse defines the Msg/UpgradeClient response type.
- class evmos.proto.autogen.py.ibc.core.client.v1.Params(allowed_clients: ~typing.List[str] = <object object>)[source]
Bases:
MessageParams defines the set of IBC light client parameters.
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryBase[source]
Bases:
ServiceBase- async client_params(query_client_params_request: QueryClientParamsRequest) QueryClientParamsResponse[source]
- async client_state(query_client_state_request: QueryClientStateRequest) QueryClientStateResponse[source]
- async client_states(query_client_states_request: QueryClientStatesRequest) QueryClientStatesResponse[source]
- async client_status(query_client_status_request: QueryClientStatusRequest) QueryClientStatusResponse[source]
- async consensus_state(query_consensus_state_request: QueryConsensusStateRequest) QueryConsensusStateResponse[source]
- async consensus_states(query_consensus_states_request: QueryConsensusStatesRequest) QueryConsensusStatesResponse[source]
- async upgraded_client_state(query_upgraded_client_state_request: QueryUpgradedClientStateRequest) QueryUpgradedClientStateResponse[source]
- async upgraded_consensus_state(query_upgraded_consensus_state_request: QueryUpgradedConsensusStateRequest) QueryUpgradedConsensusStateResponse[source]
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientParamsRequest[source]
Bases:
MessageQueryClientParamsRequest is the request type for the Query/ClientParams RPC method.
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientParamsResponse(params: ~evmos.proto.autogen.py.ibc.core.client.v1.Params = <object object>)[source]
Bases:
MessageQueryClientParamsResponse is the response type for the Query/ClientParams RPC method.
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStateRequest(client_id: str = <object object>)[source]
Bases:
MessageQueryClientStateRequest is the request type for the Query/ClientState RPC method
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStateResponse(client_state: ~betterproto.lib.google.protobuf.Any = <object object>, proof: bytes = <object object>, proof_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>)[source]
Bases:
MessageQueryClientStateResponse is the response type for the Query/ClientState RPC method. Besides the client state, it includes a proof and the height from which the proof was retrieved.
- client_state: Any = <object object>
client state associated with the request identifier
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatesRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryClientStatesRequest is the request type for the Query/ClientStates RPC method
- pagination: PageRequest = <object object>
pagination request
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatesResponse(client_states: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.IdentifiedClientState] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryClientStatesResponse is the response type for the Query/ClientStates RPC method.
- client_states: List[IdentifiedClientState] = <object object>
list of stored ClientStates of the chain.
- pagination: PageResponse = <object object>
pagination response
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatusRequest(client_id: str = <object object>)[source]
Bases:
MessageQueryClientStatusRequest is the request type for the Query/ClientStatus RPC method
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryClientStatusResponse(status: str = <object object>)[source]
Bases:
MessageQueryClientStatusResponse is the response type for the Query/ClientStatus RPC method. It returns the current status of the IBC client.
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStateRequest(client_id: str = <object object>, revision_number: int = <object object>, revision_height: int = <object object>, latest_height: bool = <object object>)[source]
Bases:
MessageQueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. Besides the consensus state, it includes a proof and the height from which the proof was retrieved.
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStateResponse(consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>, proof: bytes = <object object>, proof_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>)[source]
Bases:
MessageQueryConsensusStateResponse is the response type for the Query/ConsensusState RPC method
- consensus_state: Any = <object object>
consensus state associated with the client identifier at the given height
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStatesRequest(client_id: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryConsensusStatesRequest is the request type for the Query/ConsensusStates RPC method.
- pagination: PageRequest = <object object>
pagination request
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryConsensusStatesResponse(consensus_states: ~typing.List[~evmos.proto.autogen.py.ibc.core.client.v1.ConsensusStateWithHeight] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryConsensusStatesResponse is the response type for the Query/ConsensusStates RPC method
- consensus_states: List[ConsensusStateWithHeight] = <object object>
consensus states associated with the identifier
- pagination: PageResponse = <object object>
pagination response
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]
Bases:
ServiceStub- async client_params(query_client_params_request: QueryClientParamsRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientParamsResponse[source]
- async client_state(query_client_state_request: QueryClientStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientStateResponse[source]
- async client_states(query_client_states_request: QueryClientStatesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientStatesResponse[source]
- async client_status(query_client_status_request: QueryClientStatusRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryClientStatusResponse[source]
- async consensus_state(query_consensus_state_request: QueryConsensusStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryConsensusStateResponse[source]
- async consensus_states(query_consensus_states_request: QueryConsensusStatesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryConsensusStatesResponse[source]
- async upgraded_client_state(query_upgraded_client_state_request: QueryUpgradedClientStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryUpgradedClientStateResponse[source]
- async upgraded_consensus_state(query_upgraded_consensus_state_request: QueryUpgradedConsensusStateRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryUpgradedConsensusStateResponse[source]
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedClientStateRequest[source]
Bases:
MessageQueryUpgradedClientStateRequest is the request type for the Query/UpgradedClientState RPC method
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedClientStateResponse(upgraded_client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]
Bases:
MessageQueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method.
- upgraded_client_state: Any = <object object>
client state associated with the request identifier
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedConsensusStateRequest[source]
Bases:
MessageQueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method
- class evmos.proto.autogen.py.ibc.core.client.v1.QueryUpgradedConsensusStateResponse(upgraded_consensus_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]
Bases:
MessageQueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.
- upgraded_consensus_state: Any = <object object>
Consensus state associated with the request identifier
- class evmos.proto.autogen.py.ibc.core.client.v1.UpgradeProposal(title: str = <object object>, description: str = <object object>, plan: ~evmos.proto.autogen.py.cosmos.upgrade.v1beta1.Plan = <object object>, upgraded_client_state: ~betterproto.lib.google.protobuf.Any = <object object>)[source]
Bases:
MessageUpgradeProposal is a gov Content type for initiating an IBC breaking upgrade.
- upgraded_client_state: Any = <object object>
An UpgradedClientState must be provided to perform an IBC breaking upgrade. This will make the chain commit to the correct upgraded (self) client state before the upgrade occurs, so that connecting chains can verify that the new upgraded client is valid by verifying a proof on the previous version of the chain. This will allow IBC connections to persist smoothly across planned chain upgrades