Function frame_support::traits::tokens::fungible::conformance_tests::inspect_mutate::burn_from_exact_success
source · pub fn burn_from_exact_success<T, AccountId>(_dust_trap: Option<AccountId>)where
T: Mutate<AccountId>,
<T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug,
AccountId: AtLeast8BitUnsigned,
Expand description
Test the burn_from
function for successfully burning an exact amount of tokens.
This test checks that the burn_from
function with Precision::Exact
correctly
reduces the account balance and total issuance values by the burned amount.
§Type Parameters
- `T`: Implements `Mutate` for `AccountId`.
- `AccountId`: Account identifier implementing `AtLeast8BitUnsigned`.