Skip to content

Commit

Permalink
fix: update foundry config
Browse files Browse the repository at this point in the history
  • Loading branch information
dristpunk committed Nov 21, 2023
1 parent b38d088 commit 634f39e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
17 changes: 9 additions & 8 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,27 @@ number_underscore = 'thousands'
multiline_func_header = 'params_first'

[profile.default]
solc = '0.8.19'
evm_version = 'paris'
solc_version = '0.8.19'
src = 'solidity'
test = 'solidity/test'
out = 'out'
libs = ['lib']
fuzz_runs = 1000
libs = ['node_modules']
optimizer_runs = 10_000

[profile.optimized]
via_ir = true
out = 'out-via-ir'
fuzz_runs = 5000

[profile.test]
via_ir = true
out = 'out-via-ir'
fuzz_runs = 5000
src = 'solidity/test'

[profile.docs]
src = 'solidity/interfaces/'

[fuzz]
runs = 1000

[rpc_endpoints]
mainnet = "${MAINNET_RPC}"
goerli = "${GOERLI_RPC}"
optimism = "${MAINNET_RPC}"
Loading

0 comments on commit 634f39e

Please sign in to comment.