referrerpolicy=no-referrer-when-downgrade
frame_support::traits::tokens::fungible::conformance_tests::regular::mutate

Function burn_from_best_effort_success

Source
pub fn burn_from_best_effort_success<T, AccountId>()
where T: Mutate<AccountId>, <T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug, AccountId: AtLeast8BitUnsigned,
Expand description

Test Mutate::burn_from for successfully burning tokens with Precision::BestEffort.

This test verifies that the burning tokens with best-effort precision correctly reduces the account balance and total issuance values by the reducible balance when attempting to burn an amount greater than the reducible balance.