Skip to content
Unverified Commit c3e57c1b authored by Dino Pačandi's avatar Dino Pačandi Committed by GitHub
Browse files

[pallet-balances] `burn_allow_death` extrinsic (#3964)



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: default avatarOliver Tale-Yazdi <[email protected]>
Co-authored-by: command-bot <>
parent 7213e363
Pipeline #473173 waiting for manual action with stages
in 1 hour, 9 minutes, and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment