From 1b26822fbf38b0610915bbec9913264a16d03e21 Mon Sep 17 00:00:00 2001 From: Orlando Date: Wed, 15 Nov 2023 13:46:01 +0000 Subject: [PATCH] chore: removed create3 deployer dep --- .gitmodules | 3 --- script/Deployer.s.sol | 7 +++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitmodules b/.gitmodules index 9bb3275..2c70265 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,6 +5,3 @@ path = lib/openzeppelin-contracts url = https://github.com/Openzeppelin/openzeppelin-contracts branch = v5.0.0 -[submodule "lib/create3-factory"] - path = lib/create3-factory - url = https://github.com/lifinance/create3-factory diff --git a/script/Deployer.s.sol b/script/Deployer.s.sol index 9f0f432..49e95f0 100644 --- a/script/Deployer.s.sol +++ b/script/Deployer.s.sol @@ -4,7 +4,10 @@ pragma solidity ^0.8.21; import "forge-std/Script.sol"; import "../src/Schnaps.sol"; -import "../lib/create3-factory/src/ICREATE3Factory.sol"; + +interface ICREATE3Factory { + function deploy(bytes32 salt, bytes memory bytecode) external returns (address deployedAddress); +} contract Deployer is Script { using stdJson for string; @@ -32,4 +35,4 @@ contract Deployer is Script { vm.stopBroadcast(); } -} \ No newline at end of file +}