[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:
authored and GitHub committed 2024-01-30 22:39:47 +00:00
1 parent 4220503d28
commit 5a6f6d33d3
24 files changed
+930 -581

No files matched your search

+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"