Commit 3ef2413d authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: lite foundry profile

Adds a `lite` profile for foundry that turns off the compiler
optimizer. This is suitable for development purposes when the compiler
is taking a long time to compile. The developer should be sure to
not use this mode when doing contract deployments. To set the profile,
set the env var `FOUNDRY_PROFILE=lite`.
parent 03cef1e4
...@@ -52,3 +52,11 @@ ignore = ['src/vendor/WETH9.sol'] ...@@ -52,3 +52,11 @@ ignore = ['src/vendor/WETH9.sol']
[profile.ci.fuzz] [profile.ci.fuzz]
runs = 512 runs = 512
################################################################
# PROFILE: LITE #
################################################################
[profile.lite]
optimizer = false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment