Coretime: Add request revenue info (#3940)
Enables the `request_revenue` and `notify_revenue` parts of [RFC 5 - Coretime Interface](https://polkadot-fellows.github.io/RFCs/approved/0005-coretime-interface.html) TODO: - [x] Finish first pass at implementation - [x] ~~Need to explicitly burn uncollected and dropped revenue~~ Accumulate it instead - [x] Confirm working on zombienet - [x] Tests - [ ] Enable XCM `request_revenue` sending on Coretime chain on Kusama and Polkadot Fixes: #2209 --------- Co-authored-by:Dmitry Sinyavin <dmitry.sinyavin@parity.io> Co-authored-by: command-bot <> Co-authored-by:
s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com> Co-authored-by:
Dónal Murray <donal.murray@parity.io> Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- Cargo.lock 8 additions, 26 deletionsCargo.lock
- cumulus/parachains/runtimes/coretime/coretime-rococo/Cargo.toml 3 additions, 1 deletion...s/parachains/runtimes/coretime/coretime-rococo/Cargo.toml
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/coretime.rs 69 additions, 26 deletions...achains/runtimes/coretime/coretime-rococo/src/coretime.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/lib.rs 1 addition, 0 deletions...s/parachains/runtimes/coretime/coretime-rococo/src/lib.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/weights/pallet_broker.rs 164 additions, 116 deletions...mes/coretime/coretime-rococo/src/weights/pallet_broker.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml 3 additions, 1 deletion.../parachains/runtimes/coretime/coretime-westend/Cargo.toml
- cumulus/parachains/runtimes/coretime/coretime-westend/src/coretime.rs 72 additions, 27 deletions...chains/runtimes/coretime/coretime-westend/src/coretime.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/lib.rs 1 addition, 0 deletions.../parachains/runtimes/coretime/coretime-westend/src/lib.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/weights/pallet_broker.rs 146 additions, 109 deletions...es/coretime/coretime-westend/src/weights/pallet_broker.rs
- cumulus/polkadot-parachain/Cargo.toml 5 additions, 1 deletioncumulus/polkadot-parachain/Cargo.toml
- polkadot/runtime/parachains/src/assigner_coretime/tests.rs 3 additions, 0 deletionspolkadot/runtime/parachains/src/assigner_coretime/tests.rs
- polkadot/runtime/parachains/src/assigner_on_demand/mod.rs 101 additions, 231 deletionspolkadot/runtime/parachains/src/assigner_on_demand/mod.rs
- polkadot/runtime/parachains/src/assigner_on_demand/tests.rs 147 additions, 18 deletionspolkadot/runtime/parachains/src/assigner_on_demand/tests.rs
- polkadot/runtime/parachains/src/assigner_on_demand/types.rs 241 additions, 0 deletionspolkadot/runtime/parachains/src/assigner_on_demand/types.rs
- polkadot/runtime/parachains/src/coretime/benchmarking.rs 25 additions, 1 deletionpolkadot/runtime/parachains/src/coretime/benchmarking.rs
- polkadot/runtime/parachains/src/coretime/mod.rs 153 additions, 27 deletionspolkadot/runtime/parachains/src/coretime/mod.rs
- polkadot/runtime/parachains/src/mock.rs 20 additions, 3 deletionspolkadot/runtime/parachains/src/mock.rs
- polkadot/runtime/rococo/constants/src/lib.rs 11 additions, 0 deletionspolkadot/runtime/rococo/constants/src/lib.rs
- polkadot/runtime/rococo/src/lib.rs 26 additions, 5 deletionspolkadot/runtime/rococo/src/lib.rs
- polkadot/runtime/rococo/src/weights/runtime_parachains_assigner_on_demand.rs 28 additions, 20 deletions...coco/src/weights/runtime_parachains_assigner_on_demand.rs
Please register or sign in to comment