Skip to content

Commit

Permalink
Merge pull request #80 from gnosis/fix/foundry-support
Browse files Browse the repository at this point in the history
fix: change node_modules path within libs and enable optimizer and via_ir
  • Loading branch information
allemanfredi authored Nov 11, 2024
2 parents 6105a67 + 879c276 commit e3282c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/evm/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
types/
types/
out/
cache_forge/
7 changes: 5 additions & 2 deletions packages/evm/foundry.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
libs = ['../../node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'
cache_path = 'cache_forge'
via_ir = true
optimizer = true
optimizer_runs = 10_000

0 comments on commit e3282c1

Please sign in to comment.