Rococo: ability to programatically assign slots to teams (#3943)
* Permanent & Temp parachain slots on Rococo - WIP
* Revert test change
* Revert test change
* Fix formatting
* Extract logic to separate assigned_slots pallet
* Formatting
* Parachain downgrade logic
* Pallet doc comment
* Revert unnecessary changes
* Fix few issues, tweak temp slots allocation logic; add a bunch of tests
* Address review comments; track active temp slots
* Update runtime/common/src/assigned_slots.rs
* Update runtime/common/src/assigned_slots.rs
* Remove assigned_slots calls from paras_sudo_wrapper
* Unassign is a perfectly valid verb
* Remove unneeded collect
* Update code following #3980
* Cleanup
* Generate storage info for pallet
* Address review comments
* Add ForceOrigin to slots pallet
* Track permanent slot duration in storage
* Fix tests build
Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io>
Showing
- polkadot/parachain/src/primitives.rs 2 additions, 1 deletionpolkadot/parachain/src/primitives.rs
- polkadot/runtime/common/src/assigned_slots.rs 1266 additions, 0 deletionspolkadot/runtime/common/src/assigned_slots.rs
- polkadot/runtime/common/src/integration_tests.rs 1 addition, 0 deletionspolkadot/runtime/common/src/integration_tests.rs
- polkadot/runtime/common/src/lib.rs 1 addition, 0 deletionspolkadot/runtime/common/src/lib.rs
- polkadot/runtime/common/src/slots.rs 9 additions, 4 deletionspolkadot/runtime/common/src/slots.rs
- polkadot/runtime/kusama/src/lib.rs 1 addition, 0 deletionspolkadot/runtime/kusama/src/lib.rs
- polkadot/runtime/polkadot/src/lib.rs 1 addition, 0 deletionspolkadot/runtime/polkadot/src/lib.rs
- polkadot/runtime/rococo/src/lib.rs 33 additions, 10 deletionspolkadot/runtime/rococo/src/lib.rs
- polkadot/runtime/westend/src/lib.rs 25 additions, 3 deletionspolkadot/runtime/westend/src/lib.rs
- polkadot/scripts/gitlab/lingua.dic 1 addition, 0 deletionspolkadot/scripts/gitlab/lingua.dic
Please register or sign in to comment