Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
dab8913
wip
pgherveou Mar 29, 2023
d2da027
fix
pgherveou Mar 29, 2023
dd14d7f
wip
pgherveou Mar 29, 2023
d57ffcb
fix lint
pgherveou Mar 29, 2023
1a0f97d
rm fixture fix
pgherveou Mar 29, 2023
feba43d
missing comment
pgherveou Mar 29, 2023
d560208
fix lint
pgherveou Mar 29, 2023
c7e5430
add comment to the wsm file
pgherveou Mar 30, 2023
505919c
fix comment
pgherveou Mar 30, 2023
c5fba3a
Apply suggestions from code review
pgherveou Apr 3, 2023
a2ed618
wip
pgherveou Apr 4, 2023
1c305a4
wip weights
pgherveou Apr 4, 2023
5aa4bf1
wip weights
pgherveou Apr 4, 2023
57120be
Merge branch 'master' into pg/contracts-add-sr25519_recover
pgherveou Apr 4, 2023
2e7b44d
PR comment: test with return code
pgherveou Apr 4, 2023
f93e934
wip
pgherveou Apr 4, 2023
5084dbb
PR review add mock test
pgherveou Apr 4, 2023
90fd7ca
remove
pgherveou Apr 4, 2023
24fcbd4
lint
pgherveou Apr 4, 2023
66a9322
Update frame/contracts/fixtures/sr25519_verify.wat
pgherveou Apr 4, 2023
03ad784
fix comments
pgherveou Apr 5, 2023
dcd849d
Update frame/contracts/src/benchmarking/mod.rs
pgherveou Apr 5, 2023
b896c4c
Update frame/contracts/src/wasm/runtime.rs
pgherveou Apr 5, 2023
8a30502
Update frame/contracts/fixtures/sr25519_verify.wat
pgherveou Apr 5, 2023
d49c633
Update frame/contracts/src/benchmarking/mod.rs
pgherveou Apr 5, 2023
851111a
fix lint
pgherveou Apr 5, 2023
f7dda14
Merge branch 'master' of https://github.com/paritytech/substrate into…
Apr 5, 2023
a7ab12b
".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
Apr 5, 2023
d11b430
Update frame/contracts/src/wasm/runtime.rs
pgherveou Apr 5, 2023
9534b05
PR: review use unstable + remove arbitrary index 4
pgherveou Apr 5, 2023
c0a436a
Add benchmark for calculating overhead of calling sr25519_verify
pgherveou Apr 6, 2023
a39c784
fix message length encoding
pgherveou Apr 6, 2023
4f2b8e9
fix weights
pgherveou Apr 6, 2023
6fdb544
Merge branch 'master' of https://github.com/paritytech/substrate into…
Apr 6, 2023
3fbe20f
".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
Apr 6, 2023
44c0dca
Apply suggestions from code review
pgherveou Apr 7, 2023
5907075
Update frame/contracts/src/wasm/runtime.rs
pgherveou Apr 7, 2023
6c1bbdb
Update frame/contracts/src/wasm/runtime.rs
pgherveou Apr 7, 2023
4c1cee8
Update frame/contracts/src/benchmarking/mod.rs
pgherveou Apr 7, 2023
e2d01de
Update frame/contracts/src/benchmarking/mod.rs
pgherveou Apr 7, 2023
7d206cf
Update frame/contracts/src/schedule.rs
pgherveou Apr 12, 2023
5f1eb72
Update frame/contracts/src/schedule.rs
pgherveou Apr 12, 2023
9529c0a
Update frame/contracts/src/wasm/runtime.rs
pgherveou Apr 12, 2023
3b9b849
Update frame/contracts/src/wasm/runtime.rs
pgherveou Apr 12, 2023
e5c9723
PR review
pgherveou Apr 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update frame/contracts/src/benchmarking/mod.rs
  • Loading branch information
pgherveou authored Apr 7, 2023
commit 4c1cee8ffa9cc5ae5ae75a113559b516d80dc4a4
2 changes: 1 addition & 1 deletion frame/contracts/src/benchmarking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,7 @@ benchmarks! {
seal_sr25519_verify {
let r in 0 .. API_BENCHMARK_RUNS / 10;

let message = b"Hello world".to_vec().encode();
let message = b"Hello world".to_vec();
let message_len = message.len() as i32;
let key_type = sp_core::crypto::KeyTypeId(*b"code");
let sig_params = (0..r)
Expand Down