diff --git a/.gitmodules b/.gitmodules index 7e43866..2b0d3f1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,6 @@ [submodule "lib/forge-std"] path = lib/forge-std url = https://github.com/foundry-rs/forge-std -[submodule "lib/socket-poc"] - path = lib/socket-poc - url = https://github.com/SocketDotTech/socket-poc [submodule "lib/socket-protocol"] path = lib/socket-protocol url = https://github.com/SocketDotTech/socket-protocol diff --git a/lib/socket-poc b/lib/socket-poc deleted file mode 160000 index d9494dd..0000000 --- a/lib/socket-poc +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d9494ddbe61391033081a178c733c7269a9b70ca diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index c655b95..7dd61b3 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -5,8 +5,8 @@ import {Script} from "forge-std/Script.sol"; import {console} from "forge-std/Console.sol"; import {CounterAppGateway} from "../src/CounterAppGateway.sol"; import {CounterDeployer} from "../src/CounterDeployer.sol"; -import {FeesData} from "lib/socket-poc/contracts/common/Structs.sol"; -import {ETH_ADDRESS} from "lib/socket-poc/contracts/common/Constants.sol"; +import {FeesData} from "lib/socket-protocol/contracts/common/Structs.sol"; +import {ETH_ADDRESS} from "lib/socket-protocol/contracts/common/Constants.sol"; contract CounterDeploy is Script { function run() external { diff --git a/script/deployOnchain.s.sol b/script/deployOnchain.s.sol index abad989..7f9d070 100644 --- a/script/deployOnchain.s.sol +++ b/script/deployOnchain.s.sol @@ -4,7 +4,7 @@ pragma solidity ^0.8.0; import {Script} from "forge-std/Script.sol"; import {console} from "forge-std/Console.sol"; import {CounterDeployer} from "../src/CounterDeployer.sol"; -import {ETH_ADDRESS} from "lib/socket-poc/contracts/common/Constants.sol"; +import {ETH_ADDRESS} from "lib/socket-protocol/contracts/common/Constants.sol"; contract CounterDeployOnchain is Script { function run() external { diff --git a/src/Counter.sol b/src/Counter.sol index db19788..aef6502 100644 --- a/src/Counter.sol +++ b/src/Counter.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; -import "socket-poc/contracts/utils/Ownable.sol"; +import "socket-protocol/contracts/utils/Ownable.sol"; contract Counter is Ownable(msg.sender) { address public socket; diff --git a/src/CounterAppGateway.sol b/src/CounterAppGateway.sol index 8b1478b..2d95f2d 100644 --- a/src/CounterAppGateway.sol +++ b/src/CounterAppGateway.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; -import "socket-poc/contracts/base/AppGatewayBase.sol"; +import "socket-protocol/contracts/base/AppGatewayBase.sol"; import "./Counter.sol"; contract CounterAppGateway is AppGatewayBase { diff --git a/src/CounterDeployer.sol b/src/CounterDeployer.sol index 758c438..5c61280 100644 --- a/src/CounterDeployer.sol +++ b/src/CounterDeployer.sol @@ -2,7 +2,7 @@ pragma solidity >=0.7.0 <0.9.0; import "./Counter.sol"; -import "socket-poc/contracts/base/AppDeployerBase.sol"; +import "socket-protocol/contracts/base/AppDeployerBase.sol"; contract CounterDeployer is AppDeployerBase { bytes32 public counter = _createContractId("counter"); diff --git a/test/Counter.t.sol b/test/Counter.t.sol index 7fcfe78..ccc31e3 100644 --- a/test/Counter.t.sol +++ b/test/Counter.t.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; -import "socket-poc/test/AuctionHouse.sol"; +import "socket-protocol/test/AuctionHouse.sol"; import {Counter} from "../src/Counter.sol"; import {CounterAppGateway} from "../src/CounterAppGateway.sol"; import {CounterDeployer} from "../src/CounterDeployer.sol";