[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
+3 -1
View File
@@ -126,8 +126,10 @@ impl pallet_transaction_payment::Config for Test {
type FeeMultiplierUpdate = ();
}
pub(crate) type Balance = u64;
impl Config for Test {
type Balance = u64;
type Balance = Balance;
type DustRemoval = DustTrap;
type RuntimeEvent = RuntimeEvent;
type ExistentialDeposit = ExistentialDeposit;