Skip to content

Commit

Permalink
Replace socket-poc with socket-protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
rookmate committed Dec 6, 2024
1 parent 33eb7d4 commit a8e2979
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion lib/socket-poc
Submodule socket-poc deleted from d9494d
4 changes: 2 additions & 2 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion script/deployOnchain.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/Counter.sol
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/CounterAppGateway.sol
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/CounterDeployer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/Counter.t.sol
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit a8e2979

Please sign in to comment.