Type Alias TestContext

Source
pub type TestContext<H> = StoreGenericTestContext<MockStore, H>;
Expand description

Aliased Type§

struct TestContext<H> {
    pub multi_store: InMemoryStore,
    pub host: H,
    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: H

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.