From ae55d158419f56b0dfa9b7f833043c5d33391eae Mon Sep 17 00:00:00 2001 From: DhairyaSethi <55102840+DhairyaSethi@users.noreply.github.com> Date: Mon, 23 Dec 2024 23:41:05 +0530 Subject: [PATCH] test: rm unneeded mockCall --- .../ccip/test/pools/GHO/GhoTokenPoolEthereumBridgeLimit.t.sol | 1 - .../v0.8/ccip/test/pools/GHO/invariant/GhoTokenPoolHandler.t.sol | 1 - 2 files changed, 2 deletions(-) diff --git a/contracts/src/v0.8/ccip/test/pools/GHO/GhoTokenPoolEthereumBridgeLimit.t.sol b/contracts/src/v0.8/ccip/test/pools/GHO/GhoTokenPoolEthereumBridgeLimit.t.sol index fcc3469e63..9007b83fb5 100644 --- a/contracts/src/v0.8/ccip/test/pools/GHO/GhoTokenPoolEthereumBridgeLimit.t.sol +++ b/contracts/src/v0.8/ccip/test/pools/GHO/GhoTokenPoolEthereumBridgeLimit.t.sol @@ -29,7 +29,6 @@ contract GhoTokenPoolEthereumBridgeLimitSetup is GhoBaseTest { // Mock calls for bridging vm.mockCall(ROUTER, abi.encodeWithSelector(bytes4(keccak256("getOnRamp(uint64)"))), abi.encode(RAMP)); vm.mockCall(ROUTER, abi.encodeWithSelector(bytes4(keccak256("isOffRamp(uint64,address)"))), abi.encode(true)); - vm.mockCall(RMN_PROXY, abi.encodeWithSelector(bytes4(keccak256("isCursed()"))), abi.encode(false)); vm.mockCall(RMN_PROXY, abi.encodeWithSelector(bytes4(keccak256("isCursed(bytes16)"))), abi.encode(false)); } diff --git a/contracts/src/v0.8/ccip/test/pools/GHO/invariant/GhoTokenPoolHandler.t.sol b/contracts/src/v0.8/ccip/test/pools/GHO/invariant/GhoTokenPoolHandler.t.sol index 3fa6f7c857..4012407bdc 100644 --- a/contracts/src/v0.8/ccip/test/pools/GHO/invariant/GhoTokenPoolHandler.t.sol +++ b/contracts/src/v0.8/ccip/test/pools/GHO/invariant/GhoTokenPoolHandler.t.sol @@ -24,7 +24,6 @@ contract GhoTokenPoolHandler is GhoBaseTest { // Mock calls for bridging vm.mockCall(ROUTER, abi.encodeWithSelector(bytes4(keccak256("getOnRamp(uint64)"))), abi.encode(RAMP)); vm.mockCall(ROUTER, abi.encodeWithSelector(bytes4(keccak256("isOffRamp(uint64,address)"))), abi.encode(true)); - vm.mockCall(RMN_PROXY, abi.encodeWithSelector(bytes4(keccak256("isCursed()"))), abi.encode(false)); vm.mockCall(RMN_PROXY, abi.encodeWithSelector(bytes4(keccak256("isCursed(bytes16)"))), abi.encode(false)); // Arbitrum