Type Definition casper_engine_test_support::InMemoryWasmTestBuilder
source · [−]pub type InMemoryWasmTestBuilder = WasmTestBuilder<InMemoryGlobalState>;
Expand description
Wasm test builder where state is held entirely in memory.
Implementations
sourceimpl InMemoryWasmTestBuilder
impl InMemoryWasmTestBuilder
sourcepub fn new(
global_state: InMemoryGlobalState,
engine_config: EngineConfig,
maybe_post_state_hash: Option<Digest>
) -> Self
pub fn new(
global_state: InMemoryGlobalState,
engine_config: EngineConfig,
maybe_post_state_hash: Option<Digest>
) -> Self
Returns an InMemoryWasmTestBuilder
.