SimplicityHL versioning#112
Draft
Sdoba16 wants to merge 8 commits into
Draft
Conversation
Sdoba16
force-pushed
the
feature/versioning-hl
branch
from
July 16, 2026 14:44
ba8a5e6 to
de7123d
Compare
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
A contract's compiled Simplicity — and therefore its CMR, address, and spend — depends on the exact
SimplicityHL compiler version. Until now that version was whatever
simplicityhlcrate happened to belinked into the SDK, so upgrading Simplex could silently change every contract's address.
What this does
.simffiles can declare the compiler range they are written for:simc ">=0.7.0";simplex buildresolves the newest release satisfying every declared range and pins it insimplex.lock(with per-platform binary hashes). A satisfying lock keeps builds off the network.simplex toolchaincommand manages the compiler store (~/.simplex/compilers): resolve/pin by default, pluslist,install,remove,dir.simc, so addresses stay stable across compiler upgrades. The linked frontend does only version-stable work (flattening, ABI typing)..abi.jsonsidecars; the macro and runtime read those instead of re-invoking a compiler.--depremappings, identically at build time and runtime.-v/-vvcompiles with--debugand traces via the artifact's debug symbols.Compiler releases are currently published at Sdoba16/SimplicityHL for the testing