Skip to content

Commit

Permalink
feat: add foundry profile to fix compilation times
Browse files Browse the repository at this point in the history
  • Loading branch information
sujithsomraaj committed Sep 11, 2023
1 parent b30dab1 commit a17947c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FOUNDRY_PROFILE=local
ETH_FORK_URL=
BSC_FORK_URL=
POLYGON_FORK_URL=
Expand Down
10 changes: 10 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,14 @@ optimizer = true
runs = 100
viaIR = true

[profile.local]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.19"

optimizer = false
runs = 100
viaIR = false

# See more config options https://github.com/foundry-rs/foundry/tree/master/config

0 comments on commit a17947c

Please sign in to comment.