Add check that benchmark run on appropriate genesis
- May 22, 2023
-
-
9f6c1c39
-
983b32d2
-
gdev-benchmark
enforcing for all benchmark commands. Currently, only gdev-benchmark
supports the benchmark of all the extrinsics.Currently, we use gdev-benchmark
to generate all the weights placed in runtime/common
and used for gdev
, g1
and gtest
.
This MR leaves room to add a g1-benchmark
and a gtest-benchmark
(or refactor pallet_membership
with benchmark types and functions to prepare identities during the benchmark using the loose coupling between pallets) and create a separated weights
mod for each chain.