From 7dc40dfe0b1ea2ec8234a0c66cd956af5290c607 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 10 Oct 2024 12:14:22 -0400 Subject: [PATCH] remove console log and silence compiler warning --- contracts/gas-snapshots/ccip.gas-snapshot | 2 +- .../v0.8/ccip/test/tokenAdminRegistry/TokenPoolFactory.t.sol | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/contracts/gas-snapshots/ccip.gas-snapshot b/contracts/gas-snapshots/ccip.gas-snapshot index 73f6d21e91..63530ce332 100644 --- a/contracts/gas-snapshots/ccip.gas-snapshot +++ b/contracts/gas-snapshots/ccip.gas-snapshot @@ -1015,7 +1015,7 @@ TokenPoolAndProxy:test_setPreviousPool_Success() (gas: 5168919) TokenPoolAndProxyMigration:test_tokenPoolMigration_Success_1_2() (gas: 9975724) TokenPoolAndProxyMigration:test_tokenPoolMigration_Success_1_4() (gas: 10174033) TokenPoolFactoryTests:test_TokenPoolFactory_Constructor_Revert() (gas: 1048467) -TokenPoolFactoryTests:test_createTokenPoolLockRelease_ExistingToken_predict_Success() (gas: 11782140) +TokenPoolFactoryTests:test_createTokenPoolLockRelease_ExistingToken_predict_Success() (gas: 11781716) TokenPoolFactoryTests:test_createTokenPool_ExistingRemoteToken_AndPredictPool_Success() (gas: 12423735) TokenPoolFactoryTests:test_createTokenPool_WithNoExistingRemoteContracts_predict_Success() (gas: 12765036) TokenPoolFactoryTests:test_createTokenPool_WithNoExistingTokenOnRemoteChain_Success() (gas: 5841282) diff --git a/contracts/src/v0.8/ccip/test/tokenAdminRegistry/TokenPoolFactory.t.sol b/contracts/src/v0.8/ccip/test/tokenAdminRegistry/TokenPoolFactory.t.sol index be30ecdfac..aa6a6bba0a 100644 --- a/contracts/src/v0.8/ccip/test/tokenAdminRegistry/TokenPoolFactory.t.sol +++ b/contracts/src/v0.8/ccip/test/tokenAdminRegistry/TokenPoolFactory.t.sol @@ -20,8 +20,6 @@ import {TokenAdminRegistrySetup} from "./TokenAdminRegistry.t.sol"; import {Create2} from "../../../vendor/openzeppelin-solidity/v5.0.2/contracts/utils/Create2.sol"; -import {console2 as console} from "forge-std/console2.sol"; - contract TokenPoolFactorySetup is TokenAdminRegistrySetup { using Create2 for bytes32; @@ -387,7 +385,6 @@ contract TokenPoolFactoryTests is TokenPoolFactorySetup { function test_createTokenPoolLockRelease_ExistingToken_predict_Success() public { vm.startPrank(OWNER); - bytes32 dynamicSalt = keccak256(abi.encodePacked(FAKE_SALT, OWNER)); // We have to create a new factory, registry module, and token admin registry to simulate the other chain TokenAdminRegistry newTokenAdminRegistry = new TokenAdminRegistry();