Skip to content

Commit

Permalink
Merge pull request #110 from invariant-labs/update-position-tests
Browse files Browse the repository at this point in the history
update liquidity in position tests
  • Loading branch information
zielvna authored Dec 13, 2023
2 parents 218ec71 + 9f51f2a commit 97fd210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/e2e/position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ pub mod e2e_tests {
let lower_tick_index = min_tick_test + 10;
let upper_tick_index = max_tick_test - 10;

let liquidity_delta = Liquidity::new(initial_balance);
let liquidity_delta = Liquidity::from_integer(100);

let pool_state = get_pool!(client, ContractRef, dex, token_x, token_y, fee_tier).unwrap();

Expand Down Expand Up @@ -383,7 +383,7 @@ pub mod e2e_tests {
let lower_tick_index = -46080;
let upper_tick_index = -23040;

let liquidity_delta = Liquidity::new(initial_balance);
let liquidity_delta = Liquidity::from_integer(10_000);

let pool_state_before =
get_pool!(client, ContractRef, dex, token_x, token_y, fee_tier).unwrap();
Expand Down Expand Up @@ -482,7 +482,7 @@ pub mod e2e_tests {
let pool_key = PoolKey::new(token_x, token_y, fee_tier).unwrap();
let lower_tick_index = -22980;
let upper_tick_index = 0;
let liquidity_delta = Liquidity::new(initial_balance);
let liquidity_delta = Liquidity::from_integer(10_000);

let pool_state = get_pool!(client, ContractRef, dex, token_x, token_y, fee_tier).unwrap();

Expand Down

0 comments on commit 97fd210

Please sign in to comment.