forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
32 lines (28 loc) · 1.37 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
[profile.default]
src = 'contracts'
out = 'out'
test = 'test-sol'
libs = ['lib', 'node_modules']
remappings = [
'@celo-contracts/=contracts/',
'@celo-contracts-8=contracts-0.8/',
'@mento-core/=lib/mento-core',
'openzeppelin-solidity/=lib/openzeppelin-contracts/',
'@openzeppelin/contracts8/=lib/openzeppelin-contracts8/contracts/',
'celo-foundry/=lib/celo-foundry/src/',
'celo-foundry-8/=lib/celo-foundry-8/src/',
'@test-sol/=test-sol/',
'@migrations-sol/=migrations_sol/',
'forge-std/=lib/celo-foundry/lib/forge-std/src/',
'forge-std-8/=lib/celo-foundry-8/lib/forge-std/src/',
'@summa-tx/memview.sol/=lib/memview.sol',
'solidity-bytes-utils/=lib/solidity-bytes-utils/',
'ds-test/=lib/celo-foundry/lib/forge-std/lib/ds-test/src/',
]
no_match_test = "skip"
# `BLS12Passthrough.sol` is excluded, because it's tested in the celo-blockain repo as
# described here: https://github.com/celo-org/celo-monorepo/pull/10240
# `Random.sol` is excluded, but I'm not sure why. It was already excluded so I'm leaving it here.
no_match_path = "*test/{BLS12Passthrough.sol,RandomTest.sol}"
fs_permissions = [{ access = "read", path = "./out"}, { access = "read", path = "./migrations_sol/migrationsConfig.json"}, { access = "read", path = "./governanceConstitution.json"}]
# See more config options https://github.com/foundry-rs/foundry/tree/master/config