forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pallet-broker] add extrinsic to remove an assignment (paritytech#7080)
# Description paritytech#6929 requests more extrinsics for "managing the network's coretime allocations without needing to dabble with migration+runtime upgrade or set/kill storage patterns" This pull request implements the remove_assignment() extrinsic. ## Integration Downstream projects need to benchmark the weight for the remove_assignment() extrinsic. --------- Co-authored-by: Jonathan Brown <jbrown@acuity.network> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dónal Murray <donal.murray@parity.io>
- Loading branch information
1 parent
959d918
commit bd41848
Showing
8 changed files
with
440 additions
and
299 deletions.
There are no files selected for viewing
166 changes: 90 additions & 76 deletions
166
cumulus/parachains/runtimes/coretime/coretime-rococo/src/weights/pallet_broker.rs
Large diffs are not rendered by default.
Oops, something went wrong.
165 changes: 89 additions & 76 deletions
165
cumulus/parachains/runtimes/coretime/coretime-westend/src/weights/pallet_broker.rs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: "[pallet-broker] add extrinsic to remove an assignment" | ||
|
||
doc: | ||
- audience: Runtime User | ||
description: | | ||
A new `remove_assignment` extrinsic is introduced to the broker pallet to allow an assignment to be removed by the root origin. | ||
|
||
crates: | ||
- name: pallet-broker | ||
bump: major | ||
- name: coretime-rococo-runtime | ||
bump: patch | ||
- name: coretime-westend-runtime | ||
bump: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.