Add check that benchmark run on appropriate genesis
- Added
gdev-benchmark
enforcing for all benchmark commands. Currently, onlygdev-benchmark
supports the benchmark of all the extrinsics. - Fixed benchmarks in 'g1' and 'gtest' runtime for completion.
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.