Skip to content

Commit db5d050

Browse files
committed
Add foundry
1 parent 783d5e1 commit db5d050

File tree

8 files changed

+20
-0
lines changed

8 files changed

+20
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ deployments/hardhat
2020
deployments/localhost
2121

2222
/.dapp
23+
out
24+
cache_forge

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "lib/forge-std"]
2+
path = lib/forge-std
3+
url = https://github.com/foundry-rs/forge-std

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
```bash
66
yarn
7+
bun install
78
```
89

910
## Trace transaction

bun.lockb

463 Bytes
Binary file not shown.

foundry.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[profile.default]
2+
src = 'src'
3+
out = 'out'
4+
libs = ['node_modules', 'lib']
5+
test = 'test'
6+
cache_path = 'cache_forge'

hardhat.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import 'hardhat-deploy';
1111
import 'hardhat-tracer';
1212
import 'hardhat-deploy-ethers';
1313
import 'hardhat-deploy-tenderly';
14+
import "@nomicfoundation/hardhat-foundry";
1415

1516
import { node_url, accounts, addForkConfiguration } from './utils/network';
1617

lib/forge-std

Submodule forge-std added at f73c73d

remappings.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@openzeppelin/=node_modules/@openzeppelin/
2+
ds-test/=lib/forge-std/lib/ds-test/src/
3+
eth-gas-reporter/=node_modules/eth-gas-reporter/
4+
forge-std/=lib/forge-std/src/
5+
hardhat-deploy/=node_modules/hardhat-deploy/
6+
hardhat/=node_modules/hardhat/

0 commit comments

Comments
 (0)