From f2d553b34f0eeb99e5668c33b57659d683cf99cb Mon Sep 17 00:00:00 2001 From: Bence Haromi <56651250+benceharomi@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:17:06 +0100 Subject: [PATCH] feat(l1): added missing foundry lib symlinks (#741) --- l1-contracts/foundry.toml | 10 +++++----- l1-contracts/lib/forge-std | 1 + l1-contracts/lib/murky | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) create mode 120000 l1-contracts/lib/forge-std create mode 120000 l1-contracts/lib/murky diff --git a/l1-contracts/foundry.toml b/l1-contracts/foundry.toml index 04fd5c656..4d52d0400 100644 --- a/l1-contracts/foundry.toml +++ b/l1-contracts/foundry.toml @@ -1,7 +1,7 @@ [profile.default] src = "contracts" out = "out" -libs = ["node_modules", "../lib"] +libs = ["lib"] cache_path = "cache-forge" test = "test/foundry" solc_version = "0.8.24" @@ -20,9 +20,9 @@ fs_permissions = [ ignored_error_codes = ["missing-receive-ether", "code-size"] ignored_warnings_from = ["test", "contracts/dev-contracts"] remappings = [ - "forge-std/=../lib/forge-std/src/", - "murky/=../lib/murky/src/", + "forge-std/=lib/forge-std/src/", + "murky/=lib/murky/src/", "foundry-test/=test/foundry/", - "@openzeppelin/contracts-v4/=./lib/openzeppelin-contracts-v4/contracts/", - "@openzeppelin/contracts-upgradeable-v4/=./lib/openzeppelin-contracts-upgradeable-v4/contracts/", + "@openzeppelin/contracts-v4/=lib/openzeppelin-contracts-v4/contracts/", + "@openzeppelin/contracts-upgradeable-v4/=lib/openzeppelin-contracts-upgradeable-v4/contracts/", ] diff --git a/l1-contracts/lib/forge-std b/l1-contracts/lib/forge-std new file mode 120000 index 000000000..edce15694 --- /dev/null +++ b/l1-contracts/lib/forge-std @@ -0,0 +1 @@ +../../lib/forge-std \ No newline at end of file diff --git a/l1-contracts/lib/murky b/l1-contracts/lib/murky new file mode 120000 index 000000000..a556a15e5 --- /dev/null +++ b/l1-contracts/lib/murky @@ -0,0 +1 @@ +../../lib/murky \ No newline at end of file