-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
41 lines (34 loc) · 1.45 KB
/
foundry.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[profile.default]
src = 'src'
test = 'test'
script = 'script'
out = 'out'
libs = ['lib']
solc = "0.8.27"
evm_version = 'cancun'
optimizer = true
match_path = "test/**/*.t.sol"
# Helper to get all the contract names in the src/governance and src/core directories
# find ./src/governance ./src/core ./src/periphery/Forwarder -type f -name "*.sol" -exec grep -h "^contract [A-Za-z]" {} \; | sed -E 's/contract ([A-Za-z0-9_]+).*/"\1"/' | tr "\n" ", "
gas_reports = ["Governance","Registry","RewardDistributor","GovernanceProposer","CoinIssuer","Rollup","Inbox","Outbox","FeeJuicePortal","RollupCore","SlashingProposer","Slasher","Forwarder"]
remappings = [
"@oz/=lib/openzeppelin-contracts/contracts/",
"@aztec/=src",
"@test/=test"
]
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
fs_permissions = [
{access = "read", path = "./test/fixtures/mixed_block_1.json"},
{access = "read", path = "./test/fixtures/mixed_block_2.json"},
{access = "read", path = "./test/fixtures/single_tx_block_1.json"},
{access = "read", path = "./test/fixtures/single_tx_block_2.json"},
{access = "read", path = "./test/fixtures/empty_block_1.json"},
{access = "read", path = "./test/fixtures/empty_block_2.json"},
{access = "read", path = "./test/fixtures/fee_data_points.json"},
]
[fmt]
line_length = 100
tab_width = 2
variable_override_spacing=false
[rpc_endpoints]
mainnet_fork="https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c"