Skip to content

Commit

Permalink
remove constructor param
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongeric committed Dec 6, 2023
1 parent 8be2901 commit 5db9fbb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
254368
254346
Original file line number Diff line number Diff line change
@@ -1 +1 @@
280732
280710
Original file line number Diff line number Diff line change
@@ -1 +1 @@
310437
310415
5 changes: 1 addition & 4 deletions src/reactors/RelayOrderReactor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,8 @@ contract RelayOrderReactor is ReactorEvents, ReactorErrors, ReentrancyGuard, IRe
/// @notice permit2 address used for token transfers and signature verification
IPermit2 public immutable permit2;

address public immutable universalRouter;

constructor(IPermit2 _permit2, address _universalRouter) {
constructor(IPermit2 _permit2) {
permit2 = _permit2;
universalRouter = _universalRouter;
}

function execute(SignedOrder calldata order) external payable nonReentrant {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ contract RelayOrderReactorIntegrationTest is GasSnapshot, Test, Interop, PermitS
json = vm.readFile(string.concat(root, "/test/foundry-tests/interop.json"));
vm.createSelectFork(vm.envString("FOUNDRY_RPC_URL"), 17972788);

deployCodeTo("RelayOrderReactor.sol", abi.encode(PERMIT2, UNIVERSAL_ROUTER), RELAY_ORDER_REACTOR);
deployCodeTo("RelayOrderReactor.sol", abi.encode(PERMIT2), RELAY_ORDER_REACTOR);
reactor = RelayOrderReactor(RELAY_ORDER_REACTOR);
permitExecutor = new PermitExecutor(address(filler), reactor, address(filler));

Expand Down

0 comments on commit 5db9fbb

Please sign in to comment.