Skip to content

Commit e0c10a1

Browse files
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

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)