-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[pallet-broker] add extrinsic to remove an assignment #7080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@re-gius can you run this command? |
|
@ethernomad Requester could not be detected as a member of an allowed organization. |
|
Can someone run the benchmarking? |
|
/cmd bench --pallet pallet_broker --runtime coretime-rococo coretime-westend dev |
|
Command "bench --pallet pallet_broker --runtime coretime-rococo coretime-westend dev" has started 🚀 See logs here |
…runtime coretime-rococo coretime-westend dev'
|
Command "bench --pallet pallet_broker --runtime coretime-rococo coretime-westend dev" has finished ✅ See logs here Subweight results:
Command output:❌ Failed to build coretime-rococo |
| } | ||
|
|
||
| #[benchmark] | ||
| fn remove_assignment() -> Result<(), BenchmarkError> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to also add this to the weights files for coretime-westend and coretime-rococo. Check the output of clippy (or the clippy CI job)
|
@seadanda okay I fixed the build. Can you try the benchmarking again? |
|
/cmd bench --pallet pallet_broker --runtime coretime-rococo coretime-westend |
|
Command "bench --pallet pallet_broker --runtime coretime-rococo coretime-westend" has started 🚀 See logs here |
…runtime coretime-rococo coretime-westend'
|
Command "bench --pallet pallet_broker --runtime coretime-rococo coretime-westend" has finished ✅ See logs here Subweight results:
Command output:✅ Successful benchmarks of runtimes/pallets: |
|
@ethernomad please merge master |
|
please run benchmarking |
|
/tip small |
We don't need to run them for every pr. They will be updated by the weekly job. |
|
@bkchr A referendum for a small (4 KSM) tip was successfully submitted for @ethernomad (HnQ5ufmTTZrKKhsYk4HdoScHiQyK7PSxNDVNS5YYvgoNB53 on kusama). |
|
Also the benchmarks were running already. |
|
The referendum has appeared on Polkassembly. |
bd41848

Description
#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.