Files
pezkuwi-subxt/substrate/frame
Oliver Tale-Yazdi e8f7c81db6 [balances] Safeguard against consumer ref underflow (#3865)
There are some accounts that do not have a consumer ref while having a
reserve.
This adds a fail-safe mechanism to trigger in the case that
`does_consume` is true, but the assumption of `consumer>0` is not.

This should prevent those accounts from loosing balance and the TI from
getting messed up even more, but is not an "ideal" fix. TBH an ideal fix
is not possible, since on-chain data is in an invalid state.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2024-04-26 08:16:03 +00:00
..
2024-04-10 06:44:46 +00:00
2024-04-10 06:44:46 +00:00
2024-04-10 06:44:46 +00:00
2024-04-10 06:44:46 +00:00
2024-04-10 06:44:46 +00:00
2024-04-10 06:44:46 +00:00
2024-04-10 06:44:46 +00:00
2023-09-04 12:02:32 +03:00

FRAME

The FRAME development environment provides modules (called "pallets") and support libraries that you can use, modify, and extend to build the runtime logic to suit the needs of your blockchain.

Documentation

https://docs.substrate.io/reference/frame-pallets/

Issues

https://github.com/orgs/paritytech/projects/40