[Runtime] Bound XCMP queue (#2302)
Remove `without_storage_info` from the XCMP queue pallet. Part of https://github.com/paritytech/polkadot-sdk/issues/323 Changes: - Limit the number of channels that can be suspended at the same time. - Limit the number of channels that can have messages or signals pending at the same time. A No-OP migration is put in place to ensure that all `BoundedVec`s still decode and not truncate after upgrade. The storage version is thereby bumped to 4 to have our tooling remind us to deploy that migration. --------- Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Francisco Aguirre <franciscoaguirreperez@gmail.com>
Showing
- cumulus/pallets/parachain-system/src/lib.rs 8 additions, 1 deletioncumulus/pallets/parachain-system/src/lib.rs
- cumulus/pallets/xcmp-queue/src/lib.rs 80 additions, 25 deletionscumulus/pallets/xcmp-queue/src/lib.rs
- cumulus/pallets/xcmp-queue/src/migration.rs 14 additions, 12 deletionscumulus/pallets/xcmp-queue/src/migration.rs
- cumulus/pallets/xcmp-queue/src/migration/v5.rs 115 additions, 0 deletionscumulus/pallets/xcmp-queue/src/migration/v5.rs
- cumulus/pallets/xcmp-queue/src/mock.rs 3 additions, 1 deletioncumulus/pallets/xcmp-queue/src/mock.rs
- cumulus/pallets/xcmp-queue/src/tests.rs 1 addition, 1 deletioncumulus/pallets/xcmp-queue/src/tests.rs
- cumulus/parachain-template/runtime/src/lib.rs 3 additions, 1 deletioncumulus/parachain-template/runtime/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs 10 additions, 3 deletions...us/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs 10 additions, 3 deletions...s/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs 10 additions, 2 deletions...achains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs 10 additions, 3 deletions...chains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/lib.rs 10 additions, 3 deletions...hains/runtimes/collectives/collectives-westend/src/lib.rs
- cumulus/parachains/runtimes/contracts/contracts-rococo/src/lib.rs 2 additions, 1 deletion...parachains/runtimes/contracts/contracts-rococo/src/lib.rs
- cumulus/parachains/runtimes/contracts/contracts-rococo/src/xcm_config.rs 8 additions, 1 deletion...ins/runtimes/contracts/contracts-rococo/src/xcm_config.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/lib.rs 12 additions, 2 deletions...s/parachains/runtimes/coretime/coretime-rococo/src/lib.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/lib.rs 8 additions, 1 deletion.../parachains/runtimes/coretime/coretime-westend/src/lib.rs
- cumulus/parachains/runtimes/people/people-rococo/src/lib.rs 8 additions, 1 deletioncumulus/parachains/runtimes/people/people-rococo/src/lib.rs
- cumulus/parachains/runtimes/people/people-westend/src/lib.rs 8 additions, 1 deletioncumulus/parachains/runtimes/people/people-westend/src/lib.rs
- cumulus/parachains/runtimes/testing/penpal/src/lib.rs 3 additions, 1 deletioncumulus/parachains/runtimes/testing/penpal/src/lib.rs
- cumulus/parachains/runtimes/testing/rococo-parachain/src/lib.rs 3 additions, 1 deletion...s/parachains/runtimes/testing/rococo-parachain/src/lib.rs
Please register or sign in to comment