Dino Pačandi
authored
Adds an additional extrinsic call to the `pallet-balances` to _burn_
tokens.
Depending on the `keep_alive` flag, the call might or might not reap the
account.
Required modification of the _fungible's_ `Mutate` trait, `burn_from`
function to allow the `Preservation` argument.
**TODO**
- [x] run benchmarks & update weights
- [x] make sure prdoc is required & properly formatted
Related issue: https://github.com/paritytech/polkadot-sdk/issues/3943
---------
Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
Name | Last commit | Last update |
---|---|---|
.. | ||
crypto | ||
storage | ||
tests | ||
traits | ||
weights | ||
crypto.rs | ||
dispatch.rs | ||
dispatch_context.rs | ||
genesis_builder_helper.rs | ||
hash.rs | ||
inherent.rs | ||
instances.rs | ||
lib.rs | ||
migrations.rs | ||
traits.rs | ||
weights.rs |