Skip to content

Commit

Permalink
chore: foundry config cleanup (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
benceharomi authored Aug 20, 2024
1 parent 8be87b2 commit 7b488e6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
17 changes: 10 additions & 7 deletions l1-contracts/foundry.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', '../lib']
cache_path = 'cache-forge'
test = 'test/foundry'
src = "contracts"
out = "out"
libs = ["node_modules", "../lib"]
cache_path = "cache-forge"
test = "test/foundry"
solc_version = "0.8.24"
evm_version = "cancun"
ignored_error_codes = ["missing-receive-ether", "code-size"]
ignored_warnings_from = ["test", "contracts/dev-contracts"]

# See more config options https://github.com/foundry-rs/foundry/tree/master/crates/config
remappings = [
"forge-std/=../lib/forge-std/src/",
"murky/=../lib/murky/src/",
"foundry-test/=test/foundry/",
]
7 changes: 0 additions & 7 deletions l1-contracts/remappings.txt

This file was deleted.

3 changes: 2 additions & 1 deletion l2-contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
src = "contracts"
out = "out"
libs = ["lib"]
cache_path = "cache-forge"
evm_version = "paris"
remappings = [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
]
evm_version = "paris"

[profile.default.zksync]
zksolc = "1.5.0"
4 changes: 3 additions & 1 deletion system-contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
src = "contracts-preprocessed"
out = "out"
libs = ["lib"]
evm_version = 'paris'
cache_path = "cache-forge"
evm_version = "paris"
remappings = [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
]

[profile.default.zksync]
zksolc = "1.5.0"

0 comments on commit 7b488e6

Please sign in to comment.