Skip to content

Commit

Permalink
Update task bench
Browse files Browse the repository at this point in the history
  • Loading branch information
ukint-vs committed Nov 20, 2023
1 parent 700acb4 commit 38339cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions pallets/gear/src/benchmarking/syscalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -671,10 +671,7 @@ where
Self::prepare_handle(module, 10000000)
}

pub fn gr_reservation_send(
r: u32,
payload_len: Option<u32>,
) -> Result<Exec<T>, &'static str> {
pub fn gr_reservation_send(r: u32, payload_len: Option<u32>) -> Result<Exec<T>, &'static str> {
let repetitions = r;
assert!(repetitions <= MAX_REPETITIONS);

Expand Down
2 changes: 1 addition & 1 deletion pallets/gear/src/benchmarking/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ where
WASM_BINARY.to_vec(),
salt,
InitAction::Normal(vec![(50_000, 100)]).encode(),
10_000_000_000,
100_000_000_000,
0u32.into(),
false,
)
Expand Down

0 comments on commit 38339cc

Please sign in to comment.