Skip to content

Commit

Permalink
Revert "fix tests after merge"
Browse files Browse the repository at this point in the history
This reverts commit ba2d83f.
  • Loading branch information
carllin authored and mvines committed Mar 9, 2022
1 parent cc4d75a commit 0a17edc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/src/banking_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3130,10 +3130,6 @@ mod tests {
..
} = create_slow_genesis_config(lamports);
let bank = Arc::new(Bank::new_no_wallclock_throttle_for_tests(&genesis_config));
// set cost tracker limits to MAX so it will not filter out TXs
bank.write_cost_tracker()
.unwrap()
.set_limits(std::u64::MAX, std::u64::MAX, std::u64::MAX);

// Transfer more than the balance of the mint keypair, should cause a
// InstructionError::InsufficientFunds that is then committed. Needs to be
Expand Down Expand Up @@ -3190,10 +3186,6 @@ mod tests {
..
} = create_slow_genesis_config(10_000);
let bank = Arc::new(Bank::new_no_wallclock_throttle_for_tests(&genesis_config));
// set cost tracker limits to MAX so it will not filter out TXs
bank.write_cost_tracker()
.unwrap()
.set_limits(std::u64::MAX, std::u64::MAX, std::u64::MAX);

// Make all repetitive transactions that conflict on the `mint_keypair`, so only 1 should be executed
let mut transactions = vec![
Expand Down

0 comments on commit 0a17edc

Please sign in to comment.