Skip to content

Commit

Permalink
Copy over foundry.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Nov 21, 2024
1 parent 20a163f commit eeaf436
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[profile.default]
evm_version = "paris"
optimizer = true
optimizer_runs = 10_000_000
solc_version = "0.8.26"
remappings = ["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts"]
solc_version = '0.8.28'
verbosity = 3

[profile.ci]
Expand All @@ -15,8 +15,15 @@
# Speed up compilation and tests during development.
optimizer = false

[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"

[fmt]
bracket_spacing = false
ignore = [
'src/GovernorCountingFractional.sol', # Ignored b/c it follows OZ's styleguide.
]
int_types = "long"
line_length = 100
multiline_func_header = "attributes_first"
Expand All @@ -25,3 +32,6 @@
single_line_statement_blocks = "single"
tab_width = 2
wrap_comments = true

# Copied from https://github.com/ScopeLift/foundry-template/blob/main/foundry.toml
# See more config options https://github.com/foundry-rs/foundry/tree/master/config

0 comments on commit eeaf436

Please sign in to comment.