Skip to content

Commit

Permalink
Merge pull request #10 from a16z/fix/enable-optimizer
Browse files Browse the repository at this point in the history
fix: optimizations are required to build
  • Loading branch information
moodlezoup authored Jan 11, 2025
2 parents 1d39e17 + 2770fbe commit dec37d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
src = 'src'
out = 'out'
libs = ['lib']

via_ir = true
optimizer = true

# workaround for stack too deep errors with 0.8.26 https://github.com/ethereum/solidity/issues/14358
solc = "0.8.25"
Expand Down

0 comments on commit dec37d7

Please sign in to comment.