From 6e1fecc1224bb6e588779044f5b38053da2c7790 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Fri, 8 Nov 2024 16:45:56 +0100 Subject: [PATCH] chore: compile Solidity without via-ir optimizer --- foundry.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundry.toml b/foundry.toml index 8adb129..a06cd29 100644 --- a/foundry.toml +++ b/foundry.toml @@ -8,8 +8,8 @@ gas_reports = ["EtherSwap", "ERC20Swap"] evm_version = "istanbul" [profile.release] -via-ir = true -optimizer_runs = 4294967295 +optimizer = true +optimizer_runs = 10_000_000 [fuzz] runs = 8192