Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmigone/foundry-linked-test
https://github.com/tmigone/foundry-linked-test
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmigone/foundry-linked-test
- Owner: tmigone
- Created: 2024-04-15T14:57:32.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-15T15:15:53.000Z (7 months ago)
- Last Synced: 2024-10-19T19:59:36.975Z (18 days ago)
- Language: Solidity
- Size: 104 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# foundry-linked-test
Run `forge test -vvvv`:
```
[PASS] test_IsNativeToken() (gas: 8459)
Traces:
[8459] CounterTest::test_IsNativeToken()
├─ [338] Counter::isNativeToken(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) [staticcall]
│ └─ ← [Return] true
├─ [0] VM::assertEq(true, true) [staticcall]
│ └─ ← [Return]
└─ ← [Stop][PASS] test_IsNativeTokenLinked() (gas: 11702)
Traces:
[11702] CounterTest::test_IsNativeTokenLinked()
├─ [3548] Counter::isNativeTokenLinked(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) [staticcall]
│ ├─ [295] DenominationsLinked::isNativeToken(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) [delegatecall]
│ │ └─ ← [Return] true
│ └─ ← [Return] true
├─ [0] VM::assertEq(true, true) [staticcall]
│ └─ ← [Return]
└─ ← [Stop]
```