[FRAME] Introduce force_adjust_total_issuance (#3001)

Add `Balances::force_adjust_total_issuance` as preparation for fixing
https://github.com/polkadot-fellows/runtimes/issues/147.
Important changes in `substrate/frame/balances/src/lib.rs`.

TODO:
- [x] Update weights

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Oliver Tale-Yazdi
2024-01-30 23:39:47 +01:00
committed by GitHub
parent 4220503d28
commit 5a6f6d33d3
24 changed files with 930 additions and 581 deletions
+9
View File
@@ -0,0 +1,9 @@
title: "Introduce `Balances::force_adjust_total_issuance`"
doc:
- audience: Runtime Dev
description: |
Introduce a root extrinsic to forcefully adjust the Total Issuance. Should only be used to fix historic errors.
crates:
- name: "pallet-balances"