Skip to content

Commit 3adb172

Browse files
authored
fix(sol): use pinned compiler for bb sol build (#24620)
## Summary - Move the `barretenberg/sol` Foundry `solc` setting into `[profile.default]`. - This makes `bb-sol` use the compiler already downloaded by `l1-contracts-solc` instead of invoking Foundry's SVM network installer during `forge build`. ## Investigation [PR #24606](#24606) entered the merge queue at 2026-07-08 22:51:37 UTC and was removed at 23:03:01 UTC. The failing merge-group run was [CI3 run 28981250165](https://github.com/AztecProtocol/aztec-packages/actions/runs/28981250165) on queue SHA `fddbdbb79591f5cda6fa6450157e180cbfddb89f`. The failed status was `ci/a1-fast`; the underlying `bb-sol` log shows `forge build` in `barretenberg/sol` tried to install `solc 0.8.30` from `raw.githubusercontent.com/nikitastupin/solc/.../linux/aarch64/solc-v0.8.30` and got HTTP 429. `l1-contracts-solc` had already succeeded from cache, so the problem was that Foundry ignored the pinned compiler setting because it was scoped under `[fuzz]`. ## Verification - `forge config --json` in `barretenberg/sol` now reports `"solc": "../../l1-contracts/solc-0.8.30"`. - `./bootstrap.sh download_solc` in `l1-contracts` passed. - `make bb-sol` passed. - `./bootstrap.sh ci` was attempted but this branch's root bootstrap does not define `ci` (`Unknown command: ci`; available modes are `ci-fast`, `ci-full`, `ci-full-no-test-cache`). - `./bootstrap.sh ci-fast` was attempted; the local workspace stopped before `bb-sol` because `.claude/tests/agents_symlink_test` fails against the harness-provided `AGENTS.md`/agents symlink layout. The affected `bb-sol` target was verified directly above. --- *Created by [claudebox](https://claudebox.work/v2/sessions/2b8c305bd7244e7e) · group: `slackbot`*
1 parent 8381c8f commit 3adb172

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

barretenberg/sol/foundry.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ gas_limit = 900000000000000000
99
bytecode_hash = "none"
1010
evm_version = "cancun"
1111

12-
[fuzz]
13-
runs = 2
14-
1512
# Use the pre-downloaded solc binary from l1-contracts. l1-contracts' build is
1613
# the single owner of the svm download; pointing other forge projects at the
1714
# same binary avoids parallel svm downloads racing on ~/.svm.
1815
solc = "../../l1-contracts/solc-0.8.30"
1916

17+
[fuzz]
18+
runs = 2
19+
2020
[lint]
2121
ignore = ["./lib/**"]
2222
exclude_lints = [

0 commit comments

Comments
 (0)