ibc_client_tendermint

Module consensus_state

source
Expand description

This module includes trait implementations for the ibc_client_tendermint_types::ConsensusState type. It implements the ConsensusStateTrait for ConsensusState by defining a newtype wrapper in order to circumvent Rust’s orphan rule, which disallows foreign traits from being implemented on foreign types. This module also includes some trait implementations that serve to pass through traits implemented on the wrapped ConsensusState type.

Structs§

  • Newtype wrapper around the ConsensusState type imported from the ibc-client-tendermint-types crate. This wrapper exists so that we can bypass Rust’s orphan rules and implement traits from ibc::core::client::context on the ConsensusState type.