From 979eb85a4b3e1ad414369dac3357647c84f28697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAkira-Taniguchi=E2=80=9D?= <“dededededaiou2003@yahoo.co.jp”> Date: Mon, 2 Feb 2026 16:19:50 +0900 Subject: [PATCH] address change --- script/Deploy.s.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);