Commit 6ec82c7a authored by Falco Hirschenberger's avatar Falco Hirschenberger Committed by GitHub
Browse files

Add weight for decoding the call to benchmarks (#9781)



* First two bechmarks converted

* Add decoding weight to benchmarks.

* Update frame/democracy/src/benchmarking.rs

* Adapt to new Call-ing convention

* Resolve conflicts and change more calls

* Remove error impl for codec and use plain `expect` for error handling instead

* Compile fix

* Spaces to tabs

* Update frame/democracy/src/benchmarking.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Add origin-type specifier to benchmarks macro

* formatting

* Update frame/benchmarking/src/lib.rs

Co-authored-by: default avatarKian Paimani <[email protected]>

* Change manual to automatic benchmark syntax

* Formatting

* Revert "Change manual to automatic benchmark syntax"

This reverts commit ea5b5d906b318b6525c1e6d2bd05c5011595c21a.

Because tests are lost and cleanup code in the verify function is not run on failing calls.

Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
Co-authored-by: default avatarKian Paimani <[email protected]>
parent 1ebcbe1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment