foundry-template/foundry.toml

38 lines
807 B
TOML
Raw Normal View History

2022-07-16 11:36:29 +00:00
# Full reference https://github.com/foundry-rs/foundry/tree/master/config
[etherscan]
ethereum = { key = "${ETHERSCAN_API_KEY}" }
goerli = { key = "${ETHERSCAN_API_KEY}" }
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = true
2022-07-16 11:36:29 +00:00
[profile.default]
auto_detect_solc = false
bytecode_hash = "none"
2023-01-03 14:30:03 +00:00
fuzz = { runs = 1_000 }
2022-07-16 11:36:29 +00:00
gas_reports = ["*"]
libs = ["lib"]
2022-07-16 11:36:29 +00:00
optimizer = true
optimizer_runs = 10_000
out = "out"
2022-09-25 16:02:36 +00:00
solc = "0.8.17"
2022-07-16 11:36:29 +00:00
src = "src"
test = "test"
[profile.ci]
fuzz = { runs = 10_000 }
2022-07-16 11:36:29 +00:00
verbosity = 4
[rpc_endpoints]
ethereum="https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}"
localhost="http://localhost:8545"
goerli="https://goerli.infura.io/v3/${INFURA_API_KEY}"