chore: cleanup
This commit is contained in:
@@ -38,6 +38,7 @@ contract Constants is Test {
|
||||
address USDC_WBTC_POOL = 0x004375Dff511095CC5A197A54140a24eFEF3A416;
|
||||
|
||||
// uniswap v3
|
||||
address USV3_FACTORY = 0x1F98431c8aD98523631AE4a59f267346ea31F984;
|
||||
address DAI_WETH_USV3 = 0xC2e9F25Be6257c210d7Adf0D4Cd6E3E881ba25f8;
|
||||
|
||||
/**
|
||||
|
||||
@@ -47,7 +47,7 @@ contract TychoRouterTestSetup is Test, Constants {
|
||||
vm.createSelectFork(vm.rpcUrl("mainnet"), forkBlock);
|
||||
|
||||
vm.startPrank(ADMIN);
|
||||
address factoryV3 = address(0x1F98431c8aD98523631AE4a59f267346ea31F984);
|
||||
address factoryV3 = USV3_FACTORY;
|
||||
address poolManagerAddress = 0x000000000004444c5dc75cB358380D2e3dE08A90;
|
||||
IPoolManager poolManager = IPoolManager(poolManagerAddress);
|
||||
tychoRouter =
|
||||
|
||||
@@ -30,13 +30,12 @@ contract UniswapV3ExecutorTest is Test, Constants {
|
||||
UniswapV3ExecutorExposed uniswapV3Exposed;
|
||||
IERC20 WETH = IERC20(WETH_ADDR);
|
||||
IERC20 DAI = IERC20(DAI_ADDR);
|
||||
address factory = 0x1F98431c8aD98523631AE4a59f267346ea31F984;
|
||||
|
||||
function setUp() public {
|
||||
uint256 forkBlock = 17323404;
|
||||
vm.createSelectFork(vm.rpcUrl("mainnet"), forkBlock);
|
||||
|
||||
uniswapV3Exposed = new UniswapV3ExecutorExposed(factory);
|
||||
uniswapV3Exposed = new UniswapV3ExecutorExposed(USV3_FACTORY);
|
||||
}
|
||||
|
||||
function testDecodeParams() public view {
|
||||
|
||||
Reference in New Issue
Block a user