From 17a74701d3f71dae166987d0defc66a22f4e22b2 Mon Sep 17 00:00:00 2001 From: josojo Date: Fri, 12 Jan 2024 06:50:45 +0100 Subject: [PATCH] Optimize the number of optimizer runs (#184) --- foundry.toml | 2 +- hardhat.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/foundry.toml b/foundry.toml index 79473e98..fc3fed5f 100644 --- a/foundry.toml +++ b/foundry.toml @@ -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" diff --git a/hardhat.config.js b/hardhat.config.js index 752aad34..a0fd48b6 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -49,7 +49,7 @@ module.exports = { settings: { optimizer: { enabled: true, - runs: 200, + runs: 500, }, }, },