mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Add more asserts and debug_asserts (#8541)
* Add more asserts and debug_asserts fixing #8106 * Remove assignments * convert debug_assert to runtime assert
This commit is contained in:
committed by
GitHub
parent
a600e278ed
commit
e932c3ecd2
@@ -105,7 +105,7 @@ impl pallet_transaction_payment::Config for Test {
|
||||
pub struct OnDustRemoval;
|
||||
impl OnUnbalanced<NegativeImbalance<Test>> for OnDustRemoval {
|
||||
fn on_nonzero_unbalanced(amount: NegativeImbalance<Test>) {
|
||||
let _ = Balances::resolve_into_existing(&1, amount);
|
||||
assert_ok!(Balances::resolve_into_existing(&1, amount));
|
||||
}
|
||||
}
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user