From 84163118329697394a403078ead4810eb6c34685 Mon Sep 17 00:00:00 2001 From: arthcp Date: Thu, 5 Dec 2024 12:09:00 +0400 Subject: [PATCH] feat: rename and lib update --- lib/socket-poc | 2 +- script/Counter.s.sol | 19 ------------------- ...nterComposer.sol => CounterAppGateway.sol} | 2 +- 3 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 script/Counter.s.sol rename src/{CounterComposer.sol => CounterAppGateway.sol} (92%) diff --git a/lib/socket-poc b/lib/socket-poc index 92356d3..7948de9 160000 --- a/lib/socket-poc +++ b/lib/socket-poc @@ -1 +1 @@ -Subproject commit 92356d3ce538090d78fc7150146015124093ed77 +Subproject commit 7948de9c3c1b7c0f75c96a463f51c61a1a1d7c8f diff --git a/script/Counter.s.sol b/script/Counter.s.sol deleted file mode 100644 index cdc1fe9..0000000 --- a/script/Counter.s.sol +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.13; - -import {Script, console} from "forge-std/Script.sol"; -import {Counter} from "../src/Counter.sol"; - -contract CounterScript is Script { - Counter public counter; - - function setUp() public {} - - function run() public { - vm.startBroadcast(); - - counter = new Counter(); - - vm.stopBroadcast(); - } -} diff --git a/src/CounterComposer.sol b/src/CounterAppGateway.sol similarity index 92% rename from src/CounterComposer.sol rename to src/CounterAppGateway.sol index 3ef92d3..d032a6e 100644 --- a/src/CounterComposer.sol +++ b/src/CounterAppGateway.sol @@ -4,7 +4,7 @@ pragma solidity >=0.7.0 <0.9.0; import "socket-poc/contracts/base/AppGatewayBase.sol"; import "./Counter.sol"; -contract CounterComposer is AppGatewayBase { +contract CounterAppGateway is AppGatewayBase { constructor( address _addressResolver, address deployerContract_,