Skip to content

Commit

Permalink
chore: deploy new factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Mar 21, 2024
1 parent dab9a75 commit 8320453
Show file tree
Hide file tree
Showing 3 changed files with 2,059 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script/DeployAuctionFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract DeployAuctionFactory is Script {
// Pick an unique salt
bytes32 salt = keccak256("Auction Factory");

address contractAddress = deployer.deployCreate2(salt, bytecode);
address contractAddress = deployer.deployCreate3(salt, bytecode);

console.log("Address is ", contractAddress);

Expand All @@ -29,7 +29,7 @@ contract DeployAuctionFactory is Script {
interface Deployer {
event ContractCreation(address indexed newContract, bytes32 indexed salt);

function deployCreate2(
function deployCreate3(
bytes32 salt,
bytes memory initCode
) external payable returns (address newContract);
Expand Down
Loading

0 comments on commit 8320453

Please sign in to comment.