Commit 0eeaf770 authored by Falco Hirschenberger's avatar Falco Hirschenberger Committed by GitHub
Browse files

Create benchmark for the `system::set_code` instrisic (#13373)



* Still WIP

# Conflicts:
#	frame/system/src/weights.rs

* Still WIP

* Add benchmark for system::set_code intrinsic

fixes #13192

* Fix format

* Add missing benchmark runtime

* Fix lint warning

* Consume the rest of the block and add test verification after the benchmark

* Rewrite set_code function

* Try to fix benchmarks and tests

* Remove weight tags

* Update frame/system/src/tests.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Register ReadRuntimeVersionExt for benches

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix tests

* Fix deprecations

* Fix deprecations

* ".git/.scripts/commands/bench/bench.sh" pallet dev frame_system

* Add update info and remove obsolete complexity comments.

* ".git/.scripts/commands/fmt/fmt.sh"

* Update frame/system/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update frame/system/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update frame/system/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update frame/system/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* Update frame/system/benchmarking/src/lib.rs

Co-authored-by: default avatarBastian Köcher <[email protected]>

* ".git/.scripts/commands/fmt/fmt.sh"

* Update README.md

Just trigger CI rebuild

* Update README.md

Trigger CI

---------

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: command-bot <>
parent 05201c40
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