2022-07-16 11:36:29 +00:00
|
|
|
# Full reference https://github.com/foundry-rs/foundry/tree/master/config
|
|
|
|
|
2023-01-08 20:15:38 +00:00
|
|
|
[etherscan]
|
2023-01-17 17:49:14 +00:00
|
|
|
ethereum = { key = "${ETHERSCAN_API_KEY}" }
|
2023-01-08 20:15:38 +00:00
|
|
|
goerli = { key = "${ETHERSCAN_API_KEY}" }
|
|
|
|
|
2023-01-03 19:18:14 +00:00
|
|
|
[fmt]
|
|
|
|
bracket_spacing = true
|
|
|
|
int_types = "long"
|
|
|
|
line_length = 120
|
2023-01-03 20:49:02 +00:00
|
|
|
multiline_func_header = "all"
|
2023-01-03 19:18:14 +00:00
|
|
|
number_underscore = "thousands"
|
|
|
|
quote_style = "double"
|
|
|
|
tab_width = 4
|
2023-01-03 20:49:02 +00:00
|
|
|
wrap_comments = true
|
2023-01-03 19:18:14 +00:00
|
|
|
|
2022-07-16 11:36:29 +00:00
|
|
|
[profile.default]
|
|
|
|
auto_detect_solc = false
|
2022-08-15 12:50:16 +00:00
|
|
|
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 = ["*"]
|
2022-08-15 12:50:16 +00:00
|
|
|
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]
|
2022-12-24 14:10:31 +00:00
|
|
|
fuzz = { runs = 10_000 }
|
2022-07-16 11:36:29 +00:00
|
|
|
verbosity = 4
|
2023-01-03 19:18:14 +00:00
|
|
|
|
2023-01-08 20:15:38 +00:00
|
|
|
[rpc_endpoints]
|
2023-01-17 17:49:14 +00:00
|
|
|
ethereum="https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}"
|
2023-01-08 20:15:38 +00:00
|
|
|
localhost="http://localhost:8545"
|
|
|
|
goerli="https://goerli.infura.io/v3/${INFURA_API_KEY}"
|