Type Definition casper_engine_test_support::LmdbWasmTestBuilder [−][src]
pub type LmdbWasmTestBuilder = WasmTestBuilder<LmdbGlobalState>;
Expand description
Wasm test builder where state is held in LMDB.
Implementations
pub fn new_with_config<T: AsRef<OsStr> + ?Sized>(
data_dir: &T,
engine_config: EngineConfig
) -> Self
pub fn new_with_config<T: AsRef<OsStr> + ?Sized>(
data_dir: &T,
engine_config: EngineConfig
) -> Self
Returns an LmdbWasmTestBuilder
with configuration.
Flushes the LMDB environment to disk.
Creates a new instance of builder using the supplied configurations, opening wrapped LMDBs (e.g. in the Trie and Data stores) rather than creating them.
Creates a new instance of builder using the supplied configurations, opening wrapped LMDBs
(e.g. in the Trie and Data stores) rather than creating them.
Differs from open
in that it doesn’t append GLOBAL_STATE_DIR
to the supplied path.