-
Notifications
You must be signed in to change notification settings - Fork 378
Fix benchmarks set_code
for frame_system
pallet for all SP runtimes
#2765
Comments
frame_system
pallet for all SP runtimesset_code
for frame_system
pallet for all SP runtimes
@bkontur will you work on this? Otherwise we could maybe for now work around by making |
@bkchr do you mean something like this:
or
for |
Option 2, but this being just some intermediate solution and the real one being what you have proposed in the issue description. |
yes, here is tmp solution: #2766 |
@bkchr |
here was added benchmark for
set_code
paritytech/substrate#13373but it does not work with Cumulus runtimes which uses:
because it ends here, where some data are expected
https://github.com/paritytech/cumulus/blob/master/pallets/parachain-system/src/lib.rs#L986-L1008
so the fix should be to add some
T::BenchmarkHelper::prepare_data()
to theset_code
benchmark heresomething like:
and then configure
BenchmarkHelper
in every runtime (or close to ParachainSetCode)Example of failed job: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/3035163
The text was updated successfully, but these errors were encountered: