Skip to content

Commit

Permalink
Optimize the number of optimizer runs (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
josojo authored Jan 12, 2024
1 parent 428d7db commit 17a7470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ src = "contracts"
out = "out"
libs = ["node_modules", "lib"]
optimizer = true
optimizer_runs = 200
optimizer_runs = 500
evm_version = "london"
solc_version = "0.8.20"

Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = {
settings: {
optimizer: {
enabled: true,
runs: 200,
runs: 500,
},
},
},
Expand Down

0 comments on commit 17a7470

Please sign in to comment.