Moved presets to the testnet runtimes (#5327)
It is a first step for switching to the `frame-omni-bencher` for CI.
This PR includes several changes related to generating chain specs plus:
- [x] pallet `assigned_slots` fix missing `#[serde(skip)]` for phantom
- [x] pallet `paras_inherent` benchmark fix - cherry-picked from
https://github.com/paritytech/polkadot-sdk/pull/5688
- [x] migrates `get_preset` to the relevant runtimes
- [x] fixes Rococo genesis presets - does not work
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7317249
- [x] fixes Rococo benchmarks for CI
- [x] migrate westend genesis
- [x] remove wococo stuff
Closes: https://github.com/paritytech/polkadot-sdk/issues/5680
## Follow-ups
- Fix for frame-omni-bencher
https://github.com/paritytech/polkadot-sdk/pull/5655
- Enable new short-benchmarking CI -
https://github.com/paritytech/polkadot-sdk/pull/5706
- Remove gitlab pipelines for short benchmarking
- refactor all Cumulus runtimes to use `get_preset` -
https://github.com/paritytech/polkadot-sdk/issues/5704
- https://github.com/paritytech/polkadot-sdk/issues/5705
- https://github.com/paritytech/polkadot-sdk/issues/5700
- [ ] Backport to the stable
---------
Co-authored-by: command-bot <>
Co-authored-by:
ordian <noreply@reusable.software>
Showing
- .gitlab/pipeline/short-benchmarks.yml 21 additions, 0 deletions.gitlab/pipeline/short-benchmarks.yml
- Cargo.lock 9 additions, 17 deletionsCargo.lock
- cumulus/parachains/common/src/genesis_config_helpers.rs 0 additions, 1 deletioncumulus/parachains/common/src/genesis_config_helpers.rs
- cumulus/parachains/integration-tests/emulated/chains/relays/westend/src/genesis.rs 1 addition, 3 deletions...ation-tests/emulated/chains/relays/westend/src/genesis.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/genesis_config_presets.rs 27 additions, 39 deletions...mes/assets/asset-hub-rococo/src/genesis_config_presets.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs 2 additions, 3 deletions...us/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/Cargo.toml 2 additions, 0 deletions...s/parachains/runtimes/assets/asset-hub-westend/Cargo.toml
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/genesis_config_presets.rs 169 additions, 0 deletions...es/assets/asset-hub-westend/src/genesis_config_presets.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs 3 additions, 2 deletions...s/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml 2 additions, 0 deletions...achains/runtimes/bridge-hubs/bridge-hub-rococo/Cargo.toml
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/genesis_config_presets.rs 163 additions, 0 deletions...idge-hubs/bridge-hub-rococo/src/genesis_config_presets.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs 3 additions, 2 deletions...achains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml 2 additions, 0 deletions...chains/runtimes/bridge-hubs/bridge-hub-westend/Cargo.toml
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/genesis_config_presets.rs 163 additions, 0 deletions...dge-hubs/bridge-hub-westend/src/genesis_config_presets.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs 3 additions, 2 deletions...chains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/Cargo.toml 4 additions, 0 deletions...hains/runtimes/collectives/collectives-westend/Cargo.toml
- cumulus/parachains/runtimes/collectives/collectives-westend/src/genesis_config_presets.rs 130 additions, 0 deletions...ectives/collectives-westend/src/genesis_config_presets.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/lib.rs 3 additions, 2 deletions...hains/runtimes/collectives/collectives-westend/src/lib.rs
- cumulus/parachains/runtimes/constants/src/westend.rs 5 additions, 0 deletionscumulus/parachains/runtimes/constants/src/westend.rs
- cumulus/polkadot-parachain/Cargo.toml 1 addition, 6 deletionscumulus/polkadot-parachain/Cargo.toml