Function frame_support::traits::tokens::fungible::conformance_tests::regular::mutate::restore_overflow
source · pub fn restore_overflow<T, AccountId>()where
T: Mutate<AccountId>,
<T as Inspect<AccountId>>::Balance: AtLeast8BitUnsigned + Debug,
AccountId: AtLeast8BitUnsigned,
Expand description
Test Mutate::restore
handles balance overflow.
This test verifies that restoring an amount beyond the maximum balance returns an error and does not change the account balance or total issuance values.