Skip to content

Commit

Permalink
use salt (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds authored Mar 20, 2024
1 parent b94dd7f commit 2316732
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/DeployRelayOrderReactor.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ contract DeployRelayOrderReactor is Script {
function run(address universalRouter) public returns (RelayOrderReactor reactor) {
vm.startBroadcast();

reactor = new RelayOrderReactor{salt: 0x00}(universalRouter);
/// Should deploy the reactor using create2 to the address:
/// 0x0000000000A4e21E2597DCac987455c48b12edBF
reactor = new RelayOrderReactor{salt: 0x0000000000000000000000000000000000000000de21eb608bf4d3a312250060}(
universalRouter
);
console2.log("Reactor", address(reactor));

vm.stopBroadcast();
Expand Down

0 comments on commit 2316732

Please sign in to comment.