feat: add tests for withdraw, fee and make it DRY

This commit is contained in:
royvardhan
2025-01-23 21:04:05 +05:30
parent 7bfd6c981c
commit 056582ca2f
8 changed files with 139 additions and 110 deletions

View File

@@ -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();
}
}

View File

@@ -0,0 +1,8 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {Script, console} from "forge-std/Script.sol";
contract DeployScript is Script {
// TODO: implement deploy script
}