referrerpolicy=no-referrer-when-downgrade

Type Alias sp_io::TestExternalities

source ·
pub type TestExternalities = TestExternalities<Blake2Hasher>;
Expand description

Type alias for Externalities implementation used in tests.

Aliased Type§

struct TestExternalities {
    pub backend: TrieBackend<MemoryDB<Blake2Hasher, PrefixedKey<Blake2Hasher>, Vec<u8>>, Blake2Hasher>,
    pub extensions: Extensions,
    pub state_version: StateVersion,
    /* private fields */
}

Fields§

§backend: TrieBackend<MemoryDB<Blake2Hasher, PrefixedKey<Blake2Hasher>, Vec<u8>>, Blake2Hasher>

Storage backend.

§extensions: Extensions

Extensions.

§state_version: StateVersion

State version to use during tests.