Function frame_support::traits::tokens::fungible::conformance_tests::inspect_mutate::set_balance_burn_success
source · pub fn set_balance_burn_success<T, AccountId>(_dust_trap: Option<AccountId>)where
T: Mutate<AccountId>,
<T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug,
AccountId: AtLeast8BitUnsigned,
Expand description
Test the set_balance function for successful burning.
This test verifies that burning a balance using set_balance updates the account balance, total issuance, and active issuance correctly.
§Type Parameters
- T: Implements Mutate<AccountId>.
- AccountId: Account identifier implementing AtLeast8BitUnsigned.