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 <74971347+MathisGD@users.noreply.github.com>
  • Loading branch information
MathisGD authored Jan 10, 2025
1 parent 55a62d8 commit 466a4fa
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 @@ libs = ["lib"]
names = true
sizes = true
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.invariant]
Expand Down

0 comments on commit 466a4fa

Please sign in to comment.