From 018031944241316f9b7402ad16f4da7da58a8a50 Mon Sep 17 00:00:00 2001 From: clemlak Date: Wed, 21 Feb 2024 14:31:13 +0400 Subject: [PATCH] build: enable via-ir in Foundry settings --- foundry.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/foundry.toml b/foundry.toml index 66a064bb..aef31eed 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,14 +1,15 @@ [profile.default] remappings = [ - "solstat/=lib/solstat/src/", - "forge-std/=lib/solstat/lib/forge-std/src/", - "solmate/=lib/solstat/lib/solmate/src/", + "solstat/=lib/solstat/src/", + "forge-std/=lib/solstat/lib/forge-std/src/", + "solmate/=lib/solstat/lib/solmate/src/", ] solc_version = "0.8.22" # these are defaults. explicitly setting them here for clarity. libs = ["lib"] out = "out/" +via-ir = true [fmt] bracket_spacing = true @@ -26,4 +27,3 @@ optimism_sepolia = "${OPTIMISM_SEPOLIA_RPC_URL}" [etherscan] optimism_sepolia = { key = "${ETHERSCAN_API_KEY}" } -