Commit e0c10a1
authored
fix(sol): use pinned compiler for bb sol build (#24624)
## Summary
- Backport the Foundry config fix from
[#24620](#24620) to
`merge-train/spartan`.
- Move the `barretenberg/sol` `solc` setting into `[profile.default]` so
Foundry actually uses `../../l1-contracts/solc-0.8.30`.
## Why
[#24620](#24620)
fixed the v5 train after `bb-sol` ignored the intended pinned compiler
and fell back to Foundry's SVM download path. `merge-train/spartan` had
the same TOML scoping issue.
## Verification
- `forge config --json` in `barretenberg/sol` reports `"solc":
"../../l1-contracts/solc-0.8.30"`.
- `make bb-sol` passed.
---
*Created by
[claudebox](https://claudebox.work/v2/sessions/2b8c305bd7244e7e) ·
group: `slackbot`*1 parent 6567d75 commit e0c10a1
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments