Commit 81c026a
authored
fix(ci): share l1-contracts solc across forge builds (#23347)
Point `barretenberg/sol` and `docs/examples/solidity` foundry configs at
`l1-contracts/solc-0.8.30` (the binary `l1-contracts/bootstrap.sh
download_solc` pulls in) instead of declaring their own solc versions.
Adds a `l1-contracts-solc` Makefile target so `bb-sol` and
`l1-contracts-src` depend on it explicitly; `docs` reaches it
transitively through `yarn-project → l1-contracts`. Eliminates the
parallel svm downloads that were racing on `~/.svm`.
Versions collapse from 0.8.29 / 0.8.27 / 0.8.30 onto 0.8.30 — pragmas in
both relocated projects already allow it (`>=0.8.21` / `>=0.8.27`).
Verified locally: `forge build` in `barretenberg/sol` and each
`docs/examples/solidity/*/` subdir reports `Compiling … with Solc
0.8.30` with no `~/.svm` activity.
---
*Created by
[claudebox](https://claudebox.work/v2/sessions/dee006170dffddb5) ·
group: `slackbot`*3 files changed
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
| |||
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
312 | 323 | | |
313 | | - | |
| 324 | + | |
314 | 325 | | |
315 | 326 | | |
316 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
0 commit comments