diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 82b64df..9ebee64 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -18,7 +18,7 @@ contract Deploy is Script { // bytes32 salt = 0x00000000000000000000000000000000000000008b99e5a778edb02572010000; bytes initCode = abi.encodePacked(type(Singlesig).creationCode, abi.encode(address(0x6Ed7D526b020780f694f3c10Dfb25E1b134D3215))); - bytes32 salt = 0x000000000000000000000000000000000000000023a8e79523c02100bd88400e; + bytes32 salt = 0x0000000000000000000000000000000000000000eab62839b3422a092c19bdab; function run() external { vm.startBroadcast(); diff --git a/test/InitCodeHash.t.sol b/test/InitCodeHash.t.sol index 57ed210..fba78ad 100644 --- a/test/InitCodeHash.t.sol +++ b/test/InitCodeHash.t.sol @@ -15,7 +15,9 @@ import {Singlesig} from "src/singlesig/Singlesig.sol"; // Delegate address: 0x6ed7d526b020780f694f3c10dfb25e1b134d3215 // inithash: 0xcca90965f49f0b18661a05a21aea51ef95c0d27e2c3f216e54c928968e778af2 // Seed 0x000000000000000000000000000000000000000023a8e79523c02100bd88400e => 0x00000000c1b78A4F3171fc53bD6A3CA05FceD326 -// We want to start with 0x000000de1e8 which is 5.5 bytes, 2.2 hours +// We want to start with 0x000000de1e80 which is 6 bytes +// Seed 0x00000000000000000000000000000000000000005d7cde2e4e4a52175e200216 => 0x000004De1E80EFb94a4383fFE3418f916027A251 +// Seed 0x0000000000000000000000000000000000000000eab62839b3422a092c19bdab => 0x000000de1E803040Fba6B848D410a55FaB8B3256 contract InitCodeHashTest is Test { DelegateRegistry reg;