Files
linea-monorepo/contracts/foundry.toml
kyzooghost 8a20b27f3d [Feat] - Foundry config, supports London EVM_VERSION for L2 Linea contracts (#361)
* forge build working

* poc done

* commit

* did lint command

* remove caret from hardhat-foundry

* add foundry installation to run-smc-tests.yml

* update run-smc-tests.yml
2024-11-29 07:09:07 -08:00

22 lines
577 B
TOML

[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
cache_path = 'cache_forge'
# Test settings
match-path = 'test/foundry/*'
# Default solc compiler settings
evm_version = "cancun"
optimizer = true
optimizer_runs = 10_000
# Compiler overrides
additional_compiler_profiles = [ { name = "london", evm_version = "london" } ]
# Specify EVM_VERSION restrictions for contract compilation
compilation_restrictions = [
{ paths = "./**/L2MessageService.sol", evm_version = "london" },
{ paths = "./**/TokenBridge.sol", evm_version = "london" },
]