-
Notifications
You must be signed in to change notification settings - Fork 29
/
foundry.toml
66 lines (52 loc) · 2.32 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[profile.default]
auto_detect_solc = true
src = 'src'
out = 'out'
libs = ['lib']
fs_permissions = [{ access = "read-write", path = "./"}]
ignored_warnings_from = ["lib/token-bridge-contracts/contracts/tokenbridge/libraries/Cloneable.sol",
"lib/nitro-contracts/test/foundry/AbsInbox.t.sol", "lib/token-bridge-contracts/contracts/tokenbridge/libraries/gateway/GatewayRouter.sol"]
match-path = 'test/unit/**/*.sol'
ffi = true
solc_version = "0.8.24"
remappings = [
'node_modules/account-abstraction-0.7.0:@openzeppelin/contracts/=node_modules/openzeppelin-contracts-5.0.1',
'@aa-v7/=node_modules/account-abstraction-0.7.0/contracts/',
'ds-test/=node_modules/forge-std/lib/ds-test/src/',
'forge-std/=node_modules/forge-std/src/',
'@kinto-core-script/=script/',
'@kinto-core-test/=test/',
'@kinto-core/=src/',
'@openzeppelin-5.0.1/contracts/=node_modules/openzeppelin-contracts-5.0.1/',
'node_modules/openzeppelin-contracts-upgradeable-5.0.1:@openzeppelin/contracts/=node_modules/openzeppelin-contracts-5.0.1',
'@openzeppelin-5.0.1/contracts-upgradeable/=node_modules/openzeppelin-contracts-upgradeable-5.0.1/',
'@openzeppelin/contracts/=node_modules/openzeppelin-contracts/',
'@openzeppelin/contracts-upgradeable/=node_modules/openzeppelin-contracts-upgradeable/',
'node_modules/account-abstraction:@openzeppelin/contracts/=node_modules/openzeppelin-contracts',
'@aa/=node_modules/account-abstraction/contracts/',
'@solady/=node_modules/solady/src/',
'solady/=node_modules/solady/src/',
'@token-bridge-contracts/=node_modules/token-bridge-contracts/',
'@arbitrum/nitro-contracts/=node_modules/nitro-contracts/',
'@alto/=node_modules/alto/contracts/',
'permit2/=node_modules/permit2/',
'@dk1a/solidity-stringutils/=node_modules/@dk1a/solidity-stringutils/'
]
[profile.fork]
match-path = 'test/fork/**/*.sol'
evm_version = 'cancun'
[rpc_endpoints]
kinto = "${KINTO_RPC_URL}"
mainnet = "${ETHEREUM_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
base = "${BASE_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
kinto_devnet = "${TEST_KINTO_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
[etherscan]
mainnet = { key = "${ETHERSCAN_MAINNET_KEY}" }
arbitrum = { key = "${ETHERSCAN_ARBITRUM_KEY}" }
base = { key = "${ETHERSCAN_BASE_KEY}" }
optimism = { key = "${ETHERSCAN_OPTIMISM_KEY}" }
[fuzz]
runs = 16