Skip to content

Commit

Permalink
deployed Singlesig to 0x000000de1E803040Fba6B848D410a55FaB8B3256
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfoobar committed Sep 19, 2023
1 parent cac8d28 commit d5af036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 3 additions & 1 deletion test/InitCodeHash.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d5af036

Please sign in to comment.