Type Alias polkadot_sdk_frame::testing_prelude::TestState
pub type TestState = TestExternalities<Blake2Hasher>;
Expand description
Type alias for Externalities implementation used in tests.
Aliased Type§
struct TestState {
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.