Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 31, 2024
1 parent 94f11d3 commit 7dbd0ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ unconstrained fn full_flow() {
// Setup
let (env, amm_address, token0_address, token1_address, liquidity_token_address, token_admin, liquidity_provider, lp_balance_0, lp_balance_1, swapper_balance_0) =
setup();
let amm = AMM::at(amm_address);
// let amm = AMM::at(amm_address);
// Now we add liquidity
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ pub unconstrained fn setup() -> (&mut TestEnvironment, AztecAddress, AztecAddres
18,
))
.to_address();
let liquidity_token = Token::at(liquidity_token_address);

let amm_address = env
.deploy_self("AMM")
Expand All @@ -66,7 +65,6 @@ pub unconstrained fn setup() -> (&mut TestEnvironment, AztecAddress, AztecAddres
liquidity_token_address,
))
.to_address();
let amm = AMM::at(amm_address);

// Now we mint both tokens to the liquidity provider and token0 to swapper
let lp_balance_0 = 20000;
Expand Down

0 comments on commit 7dbd0ad

Please sign in to comment.