Skip to content

Commit

Permalink
fix bench
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Mar 21, 2024
1 parent c012d73 commit 468686e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/frame/contracts/src/benchmarking/sandbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ impl<T: Config> From<&WasmModule<T>> for Sandbox {
Determinism::Relaxed,
Some(StackLimits::default()),
CompilationMode::Eager,
true,
)
.expect("Failed to load Wasm module");

Expand All @@ -57,7 +58,6 @@ impl<T: Config> From<&WasmModule<T>> for Sandbox {
&<T>::Schedule::get(),
// We are testing with an empty environment anyways
AllowDeprecatedInterface::No,
CompilationMode::Eager,
)
.expect("Failed to create benchmarking Sandbox instance");

Expand Down

0 comments on commit 468686e

Please sign in to comment.