Skip to content
Commit 2b16af69 authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by github-actions[bot]
Browse files

[benchmarking] Reset to genesis storage after each run (#5655)



The genesis state is currently partially provided via
`OverlayedChanges`, but these changes are reset by the runtime after the
first repetition, causing the second repitition to use an invalid
genesis state.

Changes:
- Provide the genesis state as a `Storage` without any
`OverlayedChanges` to make it work correctly with repetitions.
- Add `--genesis-builder-preset` option to use different genesis preset
names.
- Improve error messages.

---------

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: default avatarggwpez <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: default avatarBranislav Kontur <[email protected]>
(cherry picked from commit 2e4e5bf2)
parent b61075bb
Pipeline #498209 waiting for manual action with stages
in 49 minutes and 18 seconds
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