From d6154241ed9061327bb5ff5bfcaf4337bcadfb3a Mon Sep 17 00:00:00 2001 From: Pepper Lebeck-Jobe Date: Mon, 6 May 2024 16:11:33 +0200 Subject: [PATCH] Fix the nitro CI builds. For some reason, the master branch of nitro won't build the contracts if there are any remappings specified for a yul build. This change removes the remappings for the yul build. --- foundry.toml | 4 +++- remappings.txt | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 remappings.txt diff --git a/foundry.toml b/foundry.toml index 774b6a24..e45c847d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -14,8 +14,10 @@ src = 'yul' out = 'out/yul' libs = ['node_modules', 'lib'] cache_path = 'forge-cache/yul' +remappings = [] +auto_detect_remappings = false [fmt] number_underscore = 'thousands' line_length = 100 -# See more config options https://github.com/foundry-rs/foundry/tree/master/config \ No newline at end of file +# See more config options https://github.com/foundry-rs/foundry/tree/master/config diff --git a/remappings.txt b/remappings.txt deleted file mode 100644 index f02afee2..00000000 --- a/remappings.txt +++ /dev/null @@ -1,5 +0,0 @@ -ds-test/=lib/forge-std/lib/ds-test/src/ -forge-std/=lib/forge-std/src/ - -@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/ -@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/ \ No newline at end of file