feat: Add balancer v3 to transfer optimization constants
Also added a getForkBlock() on TychoRouterTestSetup. Moved the router balancer test inside the Balancer file and created a TychoRouterForBalancerV3Test to wrap it Took 1 hour 10 minutes Took 21 seconds
This commit is contained in:
@@ -70,8 +70,12 @@ contract TychoRouterTestSetup is Constants, Permit2TestHelper, TestUtils {
|
||||
BalancerV3Executor public balancerV3Executor;
|
||||
MockERC20[] tokens;
|
||||
|
||||
function getForkBlock() public view virtual returns (uint256) {
|
||||
return 22082754;
|
||||
}
|
||||
|
||||
function setUp() public {
|
||||
uint256 forkBlock = 22082754;
|
||||
uint256 forkBlock = getForkBlock();
|
||||
vm.createSelectFork(vm.rpcUrl("mainnet"), forkBlock);
|
||||
|
||||
vm.startPrank(ADMIN);
|
||||
|
||||
Reference in New Issue
Block a user