diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 00be405..26aaf1b 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -8,7 +8,8 @@ import {CREATE3Factory} from "../src/CREATE3Factory.sol"; contract DeployScript is Script { function run() public returns (CREATE3Factory factory) { uint256 deployerPrivateKey = uint256(vm.envBytes32("PRIVATE_KEY")); - bytes32 salt = keccak256("intmax"); + address deployer = vm.addr(deployerPrivateKey); + bytes32 salt = keccak256(abi.encodePacked(deployer, keccak256("intmax"))); vm.startBroadcast(deployerPrivateKey);