Skip to content

Commit

Permalink
Merge branch 'tltsutltsu/benches-for-signal-syscalls' of github.com:g…
Browse files Browse the repository at this point in the history
…ear-tech/gear into tltsutltsu/benches-for-signal-syscalls
  • Loading branch information
tltsutltsu committed Sep 21, 2023
2 parents d656049 + f4e6ace commit d8fff72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/gear/src/benchmarking/syscalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ where
let module = ModuleDefinition {
memory: Some(ImportedMemory::new(SMALL_MEM_SIZE)),
imported_functions: vec![SysCallName::SignalCode],
handle_body: Some(body::syscall(repetitions, &[InstrI32Const(res_offset)])),
signal_body: Some(body::fallible_syscall(repetitions, res_offset, &[])),
..Default::default()
};

Expand All @@ -1066,7 +1066,7 @@ where
let module = ModuleDefinition {
memory: Some(ImportedMemory::new(SMALL_MEM_SIZE)),
imported_functions: vec![SysCallName::SignalFrom],
handle_body: Some(body::syscall(repetitions, &[InstrI32Const(res_offset)])),
signal_body: Some(body::fallible_syscall(repetitions, res_offset, &[])),
..Default::default()
};

Expand Down

0 comments on commit d8fff72

Please sign in to comment.