chore: Remove permit2 from executor constructor...

whenever not needed.
This commit is contained in:
TAMARA LIPOWSKI
2025-05-15 08:23:55 -04:00
parent ee687038c5
commit b0b98c5e5d
10 changed files with 62 additions and 96 deletions

View File

@@ -22,9 +22,7 @@ interface MetaRegistry {
}
contract CurveExecutorExposed is CurveExecutor {
constructor(address _nativeToken, address _permit2)
CurveExecutor(_nativeToken, _permit2)
{}
constructor(address _nativeToken) CurveExecutor(_nativeToken) {}
function decodeData(bytes calldata data)
external
@@ -54,8 +52,7 @@ contract CurveExecutorTest is Test, Constants {
function setUp() public {
uint256 forkBlock = 22031795;
vm.createSelectFork(vm.rpcUrl("mainnet"), forkBlock);
curveExecutorExposed =
new CurveExecutorExposed(ETH_ADDR_FOR_CURVE, PERMIT2_ADDRESS);
curveExecutorExposed = new CurveExecutorExposed(ETH_ADDR_FOR_CURVE);
metaRegistry = MetaRegistry(CURVE_META_REGISTRY);
}