Skip to content

Commit

Permalink
fix: add optimizers and default solc version (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Jan 20, 2025
1 parent 7e630ac commit bfb52fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ out = 'out'
libs = ['lib']
evm_version = 'shanghai'
remappings = []
optimizer = true
optimizer_runs = 200
solc = '0.8.27'

[profile.zksync]
src = 'zksync/src'
Expand All @@ -14,6 +17,8 @@ script = 'zksync/script'
libs = ['lib']
solc = '0.8.24'
evm_version = 'cancun'
optimizer = true
optimizer_runs = 200

[profile.zksync.zksync]
fallback_oz = true
Expand Down

0 comments on commit bfb52fc

Please sign in to comment.