From 57fc15a2ad2a66f5d3708d7996dccaf1795b105b Mon Sep 17 00:00:00 2001 From: --systemdf Date: Mon, 13 Jan 2025 16:24:07 +0000 Subject: [PATCH] add optimizier settings to permit2 --- contracts/evm/foundry.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/evm/foundry.toml b/contracts/evm/foundry.toml index d1d71d7d..d8ee237d 100644 --- a/contracts/evm/foundry.toml +++ b/contracts/evm/foundry.toml @@ -13,5 +13,8 @@ src = "permit2" solc = "0.8.17" test = "permit2" script ="permit2" +optimizer = true +optimizer_runs = 200 +via_ir = true # See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options