2023-10-04 08:47:40 +00:00
|
|
|
# Full reference https://github.com/foundry-rs/foundry/tree/master/config
|
|
|
|
|
2023-05-02 12:02:25 +00:00
|
|
|
[profile.default]
|
2023-10-04 08:47:40 +00:00
|
|
|
auto_detect_solc = false
|
|
|
|
block_timestamp = 1_680_220_800 # March 31, 2023 at 00:00 GMT
|
|
|
|
bytecode_hash = "none"
|
|
|
|
cbor_metadata = false
|
|
|
|
evm_version = "paris"
|
|
|
|
fuzz = { runs = 1_000 }
|
|
|
|
gas_reports = ["*"]
|
|
|
|
libs = ["lib"]
|
|
|
|
optimizer = true
|
|
|
|
optimizer_runs = 10_000
|
|
|
|
out = "out"
|
|
|
|
script = "script"
|
|
|
|
solc = "0.8.20"
|
|
|
|
src = "contracts"
|
|
|
|
test = "test"
|
|
|
|
|
|
|
|
[profile.ci]
|
|
|
|
fuzz = { runs = 10_000 }
|
|
|
|
verbosity = 4
|
|
|
|
|
|
|
|
[etherscan]
|
|
|
|
#goerli = { key = "${API_KEY_ETHERSCAN}" }
|
|
|
|
#mainnet = { key = "${API_KEY_ETHERSCAN}" }
|
2023-11-02 11:25:15 +00:00
|
|
|
optimism = { key = "${API_KEY_OPTIMISTIC_ETHERSCAN}" }
|
2023-10-04 08:47:40 +00:00
|
|
|
#sepolia = { key = "${API_KEY_ETHERSCAN}" }
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
[rpc_endpoints]
|
|
|
|
#goerli = "https://goerli.infura.io/v3/${API_KEY_INFURA}"
|
|
|
|
localhost = "http://localhost:8545"
|
|
|
|
#mainnet = "https://eth-mainnet.g.alchemy.com/v2/${API_KEY_ALCHEMY}"
|
2023-11-02 11:25:15 +00:00
|
|
|
optimism = "https://opt-mainnet.g.alchemy.com/v2/${API_KEY_OPTIMISM}"
|
2023-10-04 08:47:40 +00:00
|
|
|
#sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}"
|
2023-05-02 12:02:25 +00:00
|
|
|
|