From 94d778dafb8efe0feadad01de667b1a947e49c27 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Sat, 4 Feb 2023 20:59:02 +0200 Subject: [PATCH] build: upgrade to solc v0.8.18 build: set "cbor_metadata" to "false" in Foundry config style: format Foundry config with Taplo --- foundry.toml | 61 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/foundry.toml b/foundry.toml index 2b3a93a..74c7081 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,37 +1,38 @@ # 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 - [profile.default] -auto_detect_solc = false -bytecode_hash = "none" -fuzz = { runs = 1_000 } -gas_reports = ["*"] -libs = ["lib"] -optimizer = true -optimizer_runs = 10_000 -out = "out" -solc = "0.8.17" -src = "src" -test = "test" + auto_detect_solc = false + bytecode_hash = "none" + cbor_metadata = false + fuzz = { runs = 1_000 } + gas_reports = ["*"] + libs = ["lib"] + optimizer = true + optimizer_runs = 10_000 + out = "out" + solc = "0.8.18" + src = "src" + test = "test" [profile.ci] -fuzz = { runs = 10_000 } -verbosity = 4 + fuzz = { runs = 10_000 } + verbosity = 4 + +[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 [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}" + ethereum = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}" + localhost = "http://localhost:8545" + goerli = "https://goerli.infura.io/v3/${INFURA_API_KEY}"