File tree Expand file tree Collapse file tree 4 files changed +18
-29
lines changed
Expand file tree Collapse file tree 4 files changed +18
-29
lines changed Original file line number Diff line number Diff line change 22pragma solidity ^ 0.8.13 ;
33
44import {Script, console} from "forge-std/Script.sol " ;
5- import {Counter } from "../src/Counter .sol " ;
5+ import {IPCM } from "../src/IPCM .sol " ;
66
7- contract CounterScript is Script {
8- Counter public counter ;
7+ contract IPCMScript is Script {
8+ IPCM public ipcm ;
99
1010 function setUp () public {}
1111
1212 function run () public {
1313 vm.startBroadcast ();
1414
15- counter = new Counter ();
15+ ipcm = new IPCM ();
1616
1717 vm.stopBroadcast ();
1818 }
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: UNLICENSED
22pragma solidity ^ 0.8.13 ;
33
4- contract Counter {
4+ contract IPCM {
55 uint256 public number;
66
77 function setNumber (uint256 newNumber ) public {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: UNLICENSED
2+ pragma solidity ^ 0.8.13 ;
3+
4+ import {Test, console} from "forge-std/Test.sol " ;
5+ import {IPCM} from "../src/IPCM.sol " ;
6+
7+ contract IPCMTest is Test {
8+ IPCM public ipcm;
9+
10+ function setUp () public {
11+ ipcm = new IPCM ();
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments