Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
z0r0z authored Apr 15, 2024
1 parent 18fc172 commit 609b74b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Tester:test(string) (runs: 256, μ: 47361, ~: 24565)
TesterTest:testTest() (gas: 27613)
Tester:test(string) (runs: 256, μ: 47817, ~: 24820)
TesterTest:testTest() (gas: 27868)
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ You can edit the CI script in [.github/workflows/ci.yml](./.github/workflows/ci.
```txt
lib
├─ forge-std — https://github.com/foundry-rs/forge-std
scripts
├─ Deploy.s.sol — Test Deployment
src
├─ Tester — Tester Contract
test
Expand Down
4 changes: 1 addition & 3 deletions src/Tester.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ contract Tester {
string public data;

function test(string calldata _data) public payable {
data = _data;

emit Tested(_data);
emit Tested(data = _data);
}
}

0 comments on commit 609b74b

Please sign in to comment.