pub type MockContext = TestContext<MockHost>;Expand description
A StoreGenericTestContext using MockStore and MockHost.
Aliased Type§
pub struct MockContext {
pub multi_store: InMemoryStore,
pub host: MockHost,
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: MockHostThe 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.