From f6a551669b8e17e076bf0750de157561fddecec2 Mon Sep 17 00:00:00 2001 From: ConjunctiveNormalForm Date: Fri, 15 Dec 2023 12:46:51 -0500 Subject: [PATCH] update Quoter test --- contracts/lens/Quoter.sol | 1 - test/Quoter.t.sol | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/lens/Quoter.sol b/contracts/lens/Quoter.sol index 13076b81..bec9709a 100644 --- a/contracts/lens/Quoter.sol +++ b/contracts/lens/Quoter.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.20; -import "forge-std/console2.sol"; import {Hooks} from "@uniswap/v4-core/src/libraries/Hooks.sol"; import {TickMath} from "@uniswap/v4-core/src/libraries/TickMath.sol"; import {IHooks} from "@uniswap/v4-core/src/interfaces/IHooks.sol"; diff --git a/test/Quoter.t.sol b/test/Quoter.t.sol index 813503a6..44c20cb1 100644 --- a/test/Quoter.t.sol +++ b/test/Quoter.t.sol @@ -119,7 +119,7 @@ contract QuoterTest is Test, Deployers { function testQuoter_callLockAcquired_reverts() public { vm.expectRevert(IQuoter.InvalidLockAcquiredSender.selector); vm.prank(address(manager)); - quoter.lockAcquired(address(this), abi.encodeWithSelector(quoter.lockAcquired.selector, "0x")); + quoter.lockAcquired(address(quoter), abi.encodeWithSelector(quoter.lockAcquired.selector, address(this), "0x")); } function testQuoter_quoteExactInput_0to2_2TicksLoaded() public {