evmos.proto.autogen.py.ibc.lightclients.tendermint.v1

Classes

ClientState(chain_id, trust_level, ...)

ClientState from Tendermint tracks the current validator set, latest height, and a possible frozen height.

ConsensusState(timestamp, root, ...)

ConsensusState defines the consensus state from Tendermint.

Fraction(numerator, denominator)

Fraction defines the protobuf message type for tmmath.Fraction that only supports positive values.

Header(signed_header, validator_set, ...)

Header defines the Tendermint client consensus Header.

Misbehaviour(client_id, header_1, header_2)

Misbehaviour is a wrapper over two conflicting Headers that implements Misbehaviour interface expected by ICS-02

class evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.ClientState(chain_id: str = <object object>, trust_level: ~evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.Fraction = <object object>, trusting_period: ~datetime.timedelta = <object object>, unbonding_period: ~datetime.timedelta = <object object>, max_clock_drift: ~datetime.timedelta = <object object>, frozen_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>, latest_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>, proof_specs: ~typing.List[~evmos.proto.autogen.py.cosmos.ics23.v1.ProofSpec] = <object object>, upgrade_path: ~typing.List[str] = <object object>, allow_update_after_expiry: bool = <object object>, allow_update_after_misbehaviour: bool = <object object>)[source]

Bases: Message

ClientState from Tendermint tracks the current validator set, latest height, and a possible frozen height.

allow_update_after_expiry: bool = <object object>

allow_update_after_expiry is deprecated

allow_update_after_misbehaviour: bool = <object object>

allow_update_after_misbehaviour is deprecated

chain_id: str = <object object>
frozen_height: ___core_client_v1__.Height = <object object>

Block height when the client was frozen due to a misbehaviour

latest_height: ___core_client_v1__.Height = <object object>

Latest height the client was updated to

max_clock_drift: timedelta = <object object>

defines how much new (untrusted) header’s Time can drift into the future.

proof_specs: List[____cosmos_ics23_v1__.ProofSpec] = <object object>

Proof specifications used in verifying counterparty state

trust_level: Fraction = <object object>
trusting_period: timedelta = <object object>

duration of the period since the LastestTimestamp during which the submitted headers are valid for upgrade

unbonding_period: timedelta = <object object>

duration of the staking unbonding period

upgrade_path: List[str] = <object object>

Path at which next upgraded client will be committed. Each element corresponds to the key for a single CommitmentProof in the chained proof. NOTE: ClientState must stored under {upgradePath}/{upgradeHeight}/clientState ConsensusState must be stored under {upgradepath}/{upgradeHeight}/consensusState For SDK chains using the default upgrade module, upgrade_path should be []string{“upgrade”, “upgradedIBCState”}``

class evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.ConsensusState(timestamp: ~datetime.datetime = <object object>, root: ~evmos.proto.autogen.py.ibc.core.commitment.v1.MerkleRoot = <object object>, next_validators_hash: bytes = <object object>)[source]

Bases: Message

ConsensusState defines the consensus state from Tendermint.

next_validators_hash: bytes = <object object>
root: ___core_commitment_v1__.MerkleRoot = <object object>

commitment root (i.e app hash)

timestamp: datetime = <object object>

timestamp that corresponds to the block height in which the ConsensusState was stored.

class evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.Fraction(numerator: int = <object object>, denominator: int = <object object>)[source]

Bases: Message

Fraction defines the protobuf message type for tmmath.Fraction that only supports positive values.

denominator: int = <object object>
numerator: int = <object object>
class evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.Header(signed_header: ~evmos.proto.autogen.py.tendermint.types.SignedHeader = <object object>, validator_set: ~evmos.proto.autogen.py.tendermint.types.ValidatorSet = <object object>, trusted_height: ~evmos.proto.autogen.py.ibc.core.client.v1.Height = <object object>, trusted_validators: ~evmos.proto.autogen.py.tendermint.types.ValidatorSet = <object object>)[source]

Bases: Message

Header defines the Tendermint client consensus Header. It encapsulates all the information necessary to update from a trusted Tendermint ConsensusState. The inclusion of TrustedHeight and TrustedValidators allows this update to process correctly, so long as the ConsensusState for the TrustedHeight exists, this removes race conditions among relayers The SignedHeader and ValidatorSet are the new untrusted update fields for the client. The TrustedHeight is the height of a stored ConsensusState on the client that will be used to verify the new untrusted header. The Trusted ConsensusState must be within the unbonding period of current time in order to correctly verify, and the TrustedValidators must hash to TrustedConsensusState.NextValidatorsHash since that is the last trusted validator set at the TrustedHeight.

signed_header: ____tendermint_types__.SignedHeader = <object object>
trusted_height: ___core_client_v1__.Height = <object object>
trusted_validators: ____tendermint_types__.ValidatorSet = <object object>
validator_set: ____tendermint_types__.ValidatorSet = <object object>
class evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.Misbehaviour(client_id: str = <object object>, header_1: ~evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.Header = <object object>, header_2: ~evmos.proto.autogen.py.ibc.lightclients.tendermint.v1.Header = <object object>)[source]

Bases: Message

Misbehaviour is a wrapper over two conflicting Headers that implements Misbehaviour interface expected by ICS-02

client_id: str = <object object>

ClientID is deprecated

header_1: Header = <object object>
header_2: Header = <object object>