Skip to content

Commit

Permalink
chore: explicitly turn on the optimizer
Browse files Browse the repository at this point in the history
Signed-off-by: MathisGD <[email protected]>
  • Loading branch information
MathisGD authored Jan 10, 2025
1 parent 062a98d commit a6cbd47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ src = "src"
out = "out"
libs = ["lib"]
via_ir = true
optimizer_runs = 999999 # Etherscan does not support verifying contracts with more optimization runs.
optimizer = true
optimizer_runs = 999999
bytecode_hash = "none"

[profile.default.fmt]
Expand Down

0 comments on commit a6cbd47

Please sign in to comment.