Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Bump some more
Browse files Browse the repository at this point in the history
These also show up as asymptotically unstable. There are some more,
but let's see first if we go into the right direction.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Mar 10, 2023
1 parent 5ae22be commit e023626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/contracts/src/benchmarking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ benchmarks! {
// contract it cannot be used as an attack vector.
#[pov_mode = Measured]
seal_return {
let r in 0 .. 1;
let r in 0 .. API_BENCHMARK_BATCHES;
let code = WasmModule::<T>::from(ModuleDefinition {
memory: Some(ImportedMemory::max::<T>()),
imported_functions: vec![ImportedFunction {
Expand Down Expand Up @@ -2700,7 +2700,7 @@ benchmarks! {
// depends on how much memory is already allocated.
#[pov_mode = Ignored]
instr_memory_grow {
let r in 0 .. 1;
let r in 0 .. INSTR_BENCHMARK_BATCHES;
let max_pages = ImportedMemory::max::<T>().max_pages;
let mut sbox = Sandbox::from(&WasmModule::<T>::from(ModuleDefinition {
memory: Some(ImportedMemory {
Expand Down

0 comments on commit e023626

Please sign in to comment.