Fellowship-core: add fast promote (#4877)
Add a `promote_fast` extrinsic to the `core-fellowship` pallet to allow promotions that ignore the promotion cooldown. It comes with a new `FastPromoteOrigin`. Supersedes https://github.com/paritytech/polkadot-sdk/pull/4778 --------- Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: command-bot <>
parent
75069569
Showing
- cumulus/parachains/runtimes/collectives/collectives-westend/src/ambassador/mod.rs 1 addition, 0 deletions...mes/collectives/collectives-westend/src/ambassador/mod.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/fellowship/mod.rs 1 addition, 0 deletions...mes/collectives/collectives-westend/src/fellowship/mod.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_core_fellowship_ambassador_core.rs 14 additions, 0 deletions...end/src/weights/pallet_core_fellowship_ambassador_core.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_core_fellowship_fellowship_core.rs 14 additions, 0 deletions...end/src/weights/pallet_core_fellowship_fellowship_core.rs
- prdoc/pr_4877.prdoc 13 additions, 0 deletionsprdoc/pr_4877.prdoc
- substrate/bin/node/runtime/src/lib.rs 1 addition, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/core-fellowship/src/benchmarking.rs 16 additions, 0 deletionssubstrate/frame/core-fellowship/src/benchmarking.rs
- substrate/frame/core-fellowship/src/lib.rs 42 additions, 0 deletionssubstrate/frame/core-fellowship/src/lib.rs
- substrate/frame/core-fellowship/src/tests/integration.rs 1 addition, 0 deletionssubstrate/frame/core-fellowship/src/tests/integration.rs
- substrate/frame/core-fellowship/src/tests/unit.rs 95 additions, 1 deletionsubstrate/frame/core-fellowship/src/tests/unit.rs
- substrate/frame/core-fellowship/src/weights.rs 111 additions, 54 deletionssubstrate/frame/core-fellowship/src/weights.rs
Please register or sign in to comment