pub type TestContext<H> = StoreGenericTestContext<MockStore, H>;Expand description
A StoreGenericTestContext using MockStore.
Aliased Type§
pub struct TestContext<H> {
pub multi_store: InMemoryStore,
pub host: H,
pub ibc_store: MockIbcStore<InMemoryStore>,
pub ibc_router: MockRouter,
}Fields§
§multi_store: InMemoryStoreThe multi store of the context. This is where the IBC store root is stored at IBC commitment prefix.
host: HThe type of host chain underlying this mock context.
ibc_store: MockIbcStore<InMemoryStore>An object that stores all IBC related data.
ibc_router: MockRouterA router that can route messages to the appropriate IBC application.