Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDegenDeveloper committed Jul 6, 2024
1 parent ea73476 commit 50b446d
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use pitch_lake_starknet::{
}
};
use starknet::testing::{set_block_timestamp, set_contract_address};
use debug::PrintTrait;


// Test unsold liquidity is 0 before auction end
Expand Down Expand Up @@ -132,13 +133,11 @@ fn test_unsold_liquidity_is_unlocked_for_liquidity_providers() {
.get_lp_locked_and_unlocked_balances(liquidity_providers)
.span();

// Bid for 1/2 the options
let option_bidders = array![option_bidder_buyer_1()].span();
// Bid for 1/2 the options
let option_bidders = array![option_bidder_buyer_1()].span();
let bid_amounts = array![options_available / 2].span();
let bid_prices = array![current_round.get_reserve_price()].span();
accelerate_to_running_custom(
ref vault, option_bidders, bid_amounts, bid_prices
);
accelerate_to_running_custom(ref vault, option_bidders, bid_amounts, bid_prices);

// Check each LP's unlocked balance increments as expected
let unsold_liq = vault.get_unsold_liquidity(current_round.get_round_id());
Expand Down Expand Up @@ -171,6 +170,6 @@ let option_bidders = array![option_bidder_buyer_1()].span();
},
Option::None => { break (); }
}
}
};
}

0 comments on commit 50b446d

Please sign in to comment.