-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathfoundry-tests.toml
More file actions
253 lines (215 loc) · 8.82 KB
/
foundry-tests.toml
File metadata and controls
253 lines (215 loc) · 8.82 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
# Foundry project test configuration.
#
# Compilers:
# [compilers.<id>]
# name = "00.solc" # Display name in reports (hyphens become newlines)
# path = "./path/to/compiler" # Path to compiler executable
# description = "..." # Compiler description
# is_correctness_reference = true/false # Reference for correctness checks
# is_correctness_candidate = true/false # Candidate for correctness checks
# disabled = true/false # Whether to skip this compiler
#
# Projects:
# [projects.<name>]
# url = "https://github.com/..." # Git repository URL
# commit = "abc123..." # Git commit SHA to pin (optional, HEAD if omitted)
# description = "..." # Project description
# requires_yarn = true/false # Run yarn install before building
# disabled = true/false # Whether to skip this project
# [projects.<name>.env]
# VAR = "value" # Environment variables for build/test
#
# Comparisons:
# [[comparisons]]
# left = "03.solx-legacy" # Left toolchain: {compiler.name}-{codegen}
# right = "02.solx-main-legacy" # Right toolchain: {compiler.name}-{codegen}
# disabled = true/false # Whether to skip this comparison
[compilers.solc]
name = "00.solc-0.8.34"
path = "./temp-compilers/solc-0.8.34"
description = "solc the latest downloaded from the official repo"
disabled = true
[compilers.solx-latest]
name = "01.solx-latest"
path = "./temp-compilers/solx-latest"
description = "solx downloaded from the latest release"
disabled = true
[compilers.solx-main]
name = "02.solx-main"
path = "./temp-solx-main/target/release/solx"
description = "solx built from the main branch"
is_correctness_reference = true
disabled = false
[compilers.solx]
name = "03.solx"
path = "./target/release/solx"
description = "solx built from the current commit"
is_correctness_candidate = true
disabled = false
# Comparisons for Excel diff columns.
# Each comparison generates a diff column showing (left - right) / right as percentage.
# The 'left' and 'right' values should match the full toolchain name: "{compiler.name}-{codegen}".
# Comparisons are only included if both referenced compilers are enabled.
[[comparisons]]
left = "03.solx-legacy"
right = "01.solx-latest-legacy"
disabled = true
[[comparisons]]
left = "03.solx-viaIR"
right = "01.solx-latest-viaIR"
disabled = true
[[comparisons]]
left = "03.solx-legacy"
right = "02.solx-main-legacy"
disabled = false
[[comparisons]]
left = "03.solx-viaIR"
right = "02.solx-main-viaIR"
disabled = false
[[comparisons]]
left = "03.solx-legacy"
right = "00.solc-0.8.34-legacy"
disabled = false
[[comparisons]]
left = "03.solx-viaIR"
right = "00.solc-0.8.34-viaIR"
disabled = false
[projects.openzeppelin]
url = "https://github.com/OpenZeppelin/openzeppelin-contracts"
commit = "6b55a93ee9bf4c412de1a03536701de33dfccb87"
description = "A library for secure smart contract development."
[projects.lil-web3]
url = "https://github.com/m1guelpf/lil-web3"
commit = "7346bd28c2586da3b07102d5290175a276949b15"
description = "lil web3 aims to build really simple, intentionally-limited versions of web3 protocols & apps."
[projects.maple-erc20]
url = "https://github.com/maple-labs/erc20"
commit = "baf791a9f894b0b319a2d42d5b9f8d30349ebaad"
description = "Basic ERC-20 contract designed to be inherited and extended."
[projects.diamonds]
url = "https://github.com/Timidan/Foundry-Hardhat-Diamonds"
commit = "e9fdadc94d35c77611fd5788b99d0840cab7d3f8"
description = "A minimal template for Diamonds EIP-2535."
requires_yarn = true
[projects.lido-core]
url = "https://github.com/lidofinance/core"
commit = "96738395ca3bffd6513700a45d4c9389662c5835"
description = "Lido DAO smart contracts"
disabled = true # written in Solidity v0.4
[projects.rollcall]
url = "https://github.com/withtally/rollcall"
commit = "f81b68cf02e0a2a8f2d30746cc1e3afd42e8e1eb"
description = "A set of cross chain governance solutions."
[projects.playpen]
url = "https://github.com/ZeframLou/playpen"
commit = "77d4fd2dd5399c97bb40eccc7cedd296376acf6a"
description = "A set of modern, gas optimized staking pool contracts."
[projects.solmate]
url = "https://github.com/transmissions11/solmate"
commit = "89365b880c4f3c786bdd453d4b8e8fe410344a69"
description = "Modern, opinionated, and gas optimized building blocks for smart contract development."
[projects.prb-math]
url = "https://github.com/paulrberg/prb-math"
commit = "b21433de7519fe021b176fa0b99dd3b360f28f70"
description = "Solidity library for advanced fixed-point math operations."
requires_yarn = true
[projects.solady]
url = "https://github.com/Vectorized/solady"
commit = "90db92ce173856605d24a554969f2c67cadbc7e9"
description = "Gas optimized Solidity snippets."
[projects.unix]
url = "https://github.com/refcell/unix"
commit = "ebd26fea4e86544606bc0be58aaab0215c729382"
description = "A lightweight, extensible foundry library for shell scripting."
[projects.unix.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.foundry-upgrades]
url = "https://github.com/odyslam/foundry-upgrades"
commit = "e736e4f5d707c9d1227bb71a6f337d0bed2964bf"
description = "Helper smart contracts to deploy and manage upgradeable contracts."
[projects.art-gobblers]
url = "https://github.com/antonbaliasnikov/art-gobblers"
commit = "95d30903a33f0b359e39d7791891adfb458689d1"
description = "A decentralized art factory and marketplace. Fork with fixed tests."
[projects.lens-core]
url = "https://github.com/lens-protocol/core"
commit = "d4c662aac780e669cd23769730cdc4f0189ee5be"
description = "Lens protocol, non-custodial social graph."
requires_yarn = true
[projects.lens-core.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.balance-snapshot]
url = "https://github.com/pilagod/balance-snapshot"
commit = "1cec2c808500bffc9e00d73dadcb6207615e27a4"
description = "A Solidity library to improve balance change check in Foundry tests."
[projects.diamond-foundry]
url = "https://github.com/FydeTreasury/Diamond-Foundry"
commit = "bdba406856b7e099038b6a696a4fd5b9ac69c500"
description = "a reference implementation for EIP-2535 Diamonds."
[projects.diamond-foundry.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.fixed-term-loan]
url = "https://github.com/maple-labs/fixed-term-loan"
commit = "8fb3675288897cb0b5748a5bbe90a12055bf9fa1"
description = "A set of contracts to facilitate on-chain loans."
disabled = true
[projects.forge-std]
url = "https://github.com/foundry-rs/forge-std"
commit = "0844d7e1fc5e60d77b68e469bff60265f236c398"
description = "Forge Standard Library is a collection of helpful contracts and libraries for use with Forge and Foundry."
[projects.tokenlon]
url = "https://github.com/consenlabs/tokenlon-contracts"
commit = "ada28eb58dc50cde59f87fcb97165a0a5c6655cd"
description = "A decentralized exchange and payment settlement protocol."
[projects.tokenlon.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.uniswap-v4]
url = "https://github.com/Uniswap/v4-core"
commit = "d153b048868a60c2403a3ef5b2301bb247884d46"
description = "A new automated market maker protocol."
[projects.beefy]
url = "https://github.com/beefyfinance/beefy-contracts"
commit = "a6d9a475e8af7947cd2ca5bec77016bfd92193c2"
description = "Official url for strategies and vaults from Beefy."
requires_yarn = true
[projects.beefy.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.gov-of-venice]
url = "https://github.com/pentagonxyz/gov-of-venice"
commit = "46ea4138d2296ac9433dc2ba6eb884f0c31e25ef"
description = "A new paradigm in DAO governance."
[projects.cicada]
url = "https://github.com/a16z/cicada"
commit = "dec37d732f8ef8a91119650c416ae9bfb531a64a"
description = "A private on-chain voting protocol based on homomorphic time-lock puzzles."
[projects.cicada.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.seaport]
url = "https://github.com/ProjectOpenSea/seaport"
commit = "080133906585660f6a76b82984f3fb690ff4b2a9"
description = "A marketplace protocol for safely and efficiently buying and selling NFTs."
category = "huge"
disabled = true # compilation hangs, required to disable fuzzing tests
[projects.lens-v3]
url = "https://github.com/lens-protocol/lens-v3"
commit = "8a71192c9479091f8fc6fff5e17a0a11530ac50d"
description = "Lens Protocol V3"
requires_yarn = true
[projects.lens-v3.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.morpho-blue]
url = "https://github.com/morpho-org/morpho-blue"
commit = "57d444d9e243be21a80e8d4bf8794ebce4a089d9"
description = "Morpho Blue Protocol"
requires_yarn = true
[projects.aave-v3]
url = "https://github.com/aave-dao/aave-v3-origin"
commit = "1e3d70c4151a94166ebc59e2eaa4aff6e6ba6978"
description = "A non-custodial liquidity protocol on Ethereum."
requires_yarn = true
[projects.aave-v3.env]
EVM_DISABLE_MEMORY_SAFE_ASM_CHECK = "true"
[projects.wtf-gas]
url = "https://github.com/hedgar2017/WTF-gas-optimization"
commit = "1a2b0ca46d0ae04ffbd57cdbfe9f603ecdd61c25"
description = "WTF Solidity gas optimization techniques"