Module ibc_core_client::context::prelude
source · Expand description
Trait preludes for the ICS-02 client implementation.
Traits§
- Defines the methods that all client
ExecutionContexts (precisely the generic parameter ofcrate::client_state::ClientStateExecution) must implement. - Primary client trait. Defines all the methods that clients must implement.
ClientStatemethods needed in both validation and execution.- Convenient trait to decode a client state from an
Anytype and obtain a handle to the local instance ofClientState. ClientStatemethods which require access to the client’sExecutionContext.ClientStatemethods which require access to the client’s validation context- Defines the methods available to clients for validating client state transitions. The generic
Vparameter in crate::client_state::ClientStateValidation must inherit from this trait. - Defines methods that all
ConsensusStates should provide.