-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
foundry.toml
28 lines (28 loc) · 2.59 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
[profile.default]
src = 'contracts/test' # the source directory
test = 'contracts/test' # the test directory
out = 'artifacts/contracts' # the output directory (for artifacts)
libs = [] # a list of library directories
remappings = [] # a list of remappings
libraries = [] # a list of deployed libraries to link against
cache = true # whether to cache builds or not
force = true # whether to ignore the cache (clean build)
evm_version = 'london' # the evm version (by hardfork name)
auto_detect_solc = true # enable auto-detection of the appropriate solc version to use
optimizer = true # enable or disable the solc optimizer
optimizer_runs = 200 # the number of optimizer runs
verbosity = 2 # the verbosity of tests
ignored_error_codes = [] # a list of ignored solc error codes
fuzz_runs = 256 # the number of fuzz runs for tests
ffi = false # whether to enable ffi or not
sender = '0x00a329c0648769a73afac7f9381e08fb43dbea72' # the address of msg.sender in tests
tx_origin = '0x00a329c0648769a73afac7f9381e08fb43dbea72' # the address of tx.origin in tests
initial_balance = '0xffffffffffffffffffffffff' # the initial balance of the test contract
block_number = 0 # the block number we are at in tests
chain_id = 99 # the chain id we are on in tests
gas_limit = 9223372036854775807 # the gas limit in tests
gas_price = 0 # the gas price (in wei) in tests
block_base_fee_per_gas = 0 # the base fee (in wei) in tests
block_coinbase = '0x0000000000000000000000000000000000000000' # the address of block.coinbase in tests
block_timestamp = 0 # the value of block.timestamp in tests
block_difficulty = 0 # the value of block.difficulty in tests