Type Alias TendermintContext

Source
pub type TendermintContext = TestContext<TendermintHost>;
Expand description

Aliased Type§

pub struct TendermintContext {
    pub multi_store: InMemoryStore,
    pub host: TendermintHost,
    pub ibc_store: MockIbcStore<InMemoryStore>,
    pub ibc_router: MockRouter,
}

Fields§

§multi_store: InMemoryStore

The multi store of the context. This is where the IBC store root is stored at IBC commitment prefix.

§host: TendermintHost

The type of host chain underlying this mock context.

§ibc_store: MockIbcStore<InMemoryStore>

An object that stores all IBC related data.

§ibc_router: MockRouter

A router that can route messages to the appropriate IBC application.