Function frame_support::traits::tokens::fungible::conformance_tests::inspect_mutate::mint_into_overflow
source · pub fn mint_into_overflow<T, AccountId>(_dust_trap: Option<AccountId>)where
T: Mutate<AccountId>,
<T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug,
AccountId: AtLeast8BitUnsigned,
Expand description
Test the mint_into
function for overflow prevention.
This test ensures that minting tokens beyond the maximum balance value for an account returns an error and does not change the account balance or total issuance values.
§Type Parameters
- `T`: Implements `Mutate<AccountId>`.
- `AccountId`: Account identifier implementing `AtLeast8BitUnsigned`.