Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
rm debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Apr 24, 2023
1 parent a17f2ba commit 62fc1e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frame/contracts/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3048,9 +3048,6 @@ fn test_failed_charge_should_roll_back_call() {

DEPOSIT_PER_BYTE.with(|c| *c.borrow_mut() = 1_000);

let _ = Balances::make_free_balance_be(&ALICE, 1_000_000);
dbg!("BEFORE", Balances::free_balance(&ALICE));

// dispatch the call
let result = <Pallet<Test>>::call(
RuntimeOrigin::signed(ALICE),
Expand All @@ -3062,7 +3059,6 @@ fn test_failed_charge_should_roll_back_call() {
);

assert_err_ignore_postinfo!(result, TokenError::FundsUnavailable);
dbg!("AFTER", Balances::free_balance(&ALICE));
})
}

Expand Down

0 comments on commit 62fc1e3

Please sign in to comment.