[AHM] Poke deposits: Multisig pallet (#7700)
# Description * This PR adds a new extrinsic `poke_deposit` to `pallet-multisig`. This extrinsic will be used to re-adjust the deposits made in the pallet to create a multisig operation after AHM. * Part of #5591 ## Review Notes * Added a new extrinsic `poke_deposit` in `pallet-multisig`. * Added a new event `DepositPoked` to be emitted upon a successful call of the extrinsic. * Although the immediate use of the extrinsic will be to give back some of the deposit after the AH-migration, the extrinsic is written such that it can work if the deposit decreases or increases (both). * The call to the extrinsic would be `free` if an actual adjustment is made to the deposit and `paid` otherwise. * Added tests to test all scenarios. ## TO-DOs * [x] Add Benchmark * [x] Run CI cmd bot to benchmark --------- Co-authored-by:cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
Giuseppe Re <giuseppe.re@parity.io>
Showing
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_multisig.rs 51 additions, 36 deletions...es/assets/asset-hub-rococo/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_multisig.rs 51 additions, 36 deletions...s/assets/asset-hub-westend/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/pallet_multisig.rs 51 additions, 36 deletions...dge-hubs/bridge-hub-rococo/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/weights/pallet_multisig.rs 51 additions, 36 deletions...ge-hubs/bridge-hub-westend/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_multisig.rs 51 additions, 36 deletions...ctives/collectives-westend/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/contracts/contracts-rococo/src/weights/pallet_multisig.rs 51 additions, 36 deletions...contracts/contracts-rococo/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/weights/pallet_multisig.rs 51 additions, 36 deletions...s/coretime/coretime-rococo/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/weights/pallet_multisig.rs 51 additions, 36 deletions.../coretime/coretime-westend/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/people/people-rococo/src/weights/pallet_multisig.rs 51 additions, 36 deletions...times/people/people-rococo/src/weights/pallet_multisig.rs
- cumulus/parachains/runtimes/people/people-westend/src/weights/pallet_multisig.rs 51 additions, 36 deletions...imes/people/people-westend/src/weights/pallet_multisig.rs
- polkadot/runtime/rococo/src/weights/pallet_multisig.rs 51 additions, 36 deletionspolkadot/runtime/rococo/src/weights/pallet_multisig.rs
- polkadot/runtime/westend/src/weights/pallet_multisig.rs 51 additions, 36 deletionspolkadot/runtime/westend/src/weights/pallet_multisig.rs
- prdoc/pr_7700.prdoc 29 additions, 0 deletionsprdoc/pr_7700.prdoc
- substrate/frame/multisig/src/benchmarking.rs 63 additions, 0 deletionssubstrate/frame/multisig/src/benchmarking.rs
- substrate/frame/multisig/src/lib.rs 96 additions, 3 deletionssubstrate/frame/multisig/src/lib.rs
- substrate/frame/multisig/src/tests.rs 321 additions, 4 deletionssubstrate/frame/multisig/src/tests.rs
- substrate/frame/multisig/src/weights.rs 97 additions, 68 deletionssubstrate/frame/multisig/src/weights.rs
Please register or sign in to comment