From 7dbd0adbd5dce85fc1b1fae760897249d602cd2c Mon Sep 17 00:00:00 2001 From: benesjan Date: Thu, 31 Oct 2024 01:16:07 +0000 Subject: [PATCH] WIP --- .../noir-contracts/contracts/amm_contract/src/test/full_flow.nr | 2 +- .../noir-contracts/contracts/amm_contract/src/test/utils.nr | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/noir-projects/noir-contracts/contracts/amm_contract/src/test/full_flow.nr b/noir-projects/noir-contracts/contracts/amm_contract/src/test/full_flow.nr index 9ceac7558fdb..82d667282402 100644 --- a/noir-projects/noir-contracts/contracts/amm_contract/src/test/full_flow.nr +++ b/noir-projects/noir-contracts/contracts/amm_contract/src/test/full_flow.nr @@ -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 } diff --git a/noir-projects/noir-contracts/contracts/amm_contract/src/test/utils.nr b/noir-projects/noir-contracts/contracts/amm_contract/src/test/utils.nr index c4e4699e27f6..65207945b0dd 100644 --- a/noir-projects/noir-contracts/contracts/amm_contract/src/test/utils.nr +++ b/noir-projects/noir-contracts/contracts/amm_contract/src/test/utils.nr @@ -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") @@ -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;