Repository navigation
docs: update compiler compatibility commands in CONTRIBUTING - #926
Merged
mattsse merged 4 commits intoOct 23, 2026
Merged
Conversation
The minimum supported solc version was raised to 0.8.13 in foundry-rs#767: every pragma under src/ now requires 0.8.13 or newer and CI builds with SOLC_MINIMUM 0.8.13. CONTRIBUTING.md still told contributors to build with solc 0.6.2, 0.6.12, 0.7.0, 0.7.6 and 0.8.0, which can no longer compile the library. List the 0.8.13 builds that CI runs (with and without --via-ir) instead. Signed-off-by: ADou <ikun3.1415927@gmail.com>
imitater-dou
requested review from
0xrusowsky,
DaniPopes,
grandizzy,
mattsse and
onbjerg
as code owners
October 6, 2026 07:33
DaniPopes
approved these changes
Oct 6, 2026
mattsse
approved these changes
Oct 23, 2026
mattsse
enabled auto-merge (squash)
October 23, 2026 07:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
#767 raised the minimum supported compiler to 0.8.13: every
src/file now has a>=0.8.13pragma (for examplesrc/Test.solispragma solidity >=0.8.13 <0.9.0;), and.github/workflows/ci.ymlbuilds withSOLC_MINIMUM: "0.8.13".CONTRIBUTING.mdwas not updated in that PR, so the "compatible with all compiler version targets" section still lists:None of these versions satisfy the current pragmas, so running the documented commands fails with a compiler-version error.
Solution
Replace them with the minimum-version builds that CI runs (
--use solc:0.8.13, with and without--via-ir), and say in the sentence above them that 0.8.13 is the minimum supported version. The latest-version builds are left to CI, so the doc won't go stale every timeSOLC_LATESTis bumped.Docs-only change; no code touched.