Fellowship-core: add fast promote#4877
Conversation
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
| Ok(allow_rank) => ensure!(allow_rank >= to_rank, Error::<T, I>::NoPermission), | ||
| Err(origin) => ensure_root(origin)?, | ||
| } | ||
| ensure!(to_rank as u32 <= T::MaxRank::get(), Error::<T, I>::InvalidRank); |
There was a problem hiding this comment.
maybe refactor those into a helper function so it can be shared with promote
There was a problem hiding this comment.
Yes could do, but it needs to go into the release today and its already approved 🫠
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
|
bot bench substrate-pallet --pallet=pallet-core-fellowship |
|
The CI pipeline was cancelled due to failure one of the required jobs. |
|
bot bench substrate-pallet --pallet=pallet_core_fellowship |
|
bot cancel |
|
@ggwpez Command |
|
@ggwpez https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6555216 was started for your command Comment |
…=dev --target_dir=substrate --pallet=pallet_core_fellowship
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 paritytech#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 <>
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 paritytech#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 <>
Add a
promote_fastextrinsic to thecore-fellowshippallet to allow promotions that ignore the promotion cooldown. It comes with a newFastPromoteOrigin.Supersedes #4778