Skip to content

Commit

Permalink
WEB3-268: Update foundry.toml with suggested changes (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
nategraf authored Jan 7, 2025
1 parent 5464664 commit ff7f5d7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,26 @@ src = "src"
out = "out"
test = "test"
libs = ["../lib"]

# Allow use of the ffi cheatcode in tests.
ffi = true

# Compiler options

via_ir = true
evm_version = 'cancun'
optimizer_runs = 10000
solc_version = "0.8.26"
# Do not append metadata hash to bytecode. We do not currently use it, and omitting it results in
# more stable build artifacts, which is important since we check the bytecode into git.
# For information about Solidity metadata, see https://docs.soliditylang.org/en/latest/metadata.html
bytecode_hash = "none"

[fmt]
line_length = 120
tab_width = 4
quote_style = "double"

# Profile used to run deployment tests, which check the correctness of contracts as deployed.
# TIP: You can select this profile by setting env var FOUNDRY_PROFILE=deployment-test
[profile.deployment-test]
Expand Down

0 comments on commit ff7f5d7

Please sign in to comment.