chore(interfaces): sync from released SDK artifacts - #109
Draft
phylax-ci wants to merge 1 commit into
Draft
Conversation
phylax-ci
force-pushed
the
centaur/sync-released-sdk-interfaces-1786084331
branch
from
August 7, 2026 06:57
9e0cb4d to
3c6a25e
Compare
mateo-mro
reviewed
Aug 7, 2026
| exit 1 | ||
| fi | ||
|
|
||
| mapfile -t archive_entries < <(tar -tzf "${archive}" | LC_ALL=C sort) |
There was a problem hiding this comment.
This command is documented for maintainers, but it relies on sha256sum and mapfile; neither exists in the default macOS environment because its bundled Bash is 3.2. The documented update therefore fails before syncing on a standard developer Mac. Could we use a portable checksum fallback and avoid mapfile, or document Linux as a requirement?
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.
Summary
Add the release-pinned consumer side of the Solidity-interface synchronization introduced by credible-sdk#1340.
Context
credible-stdmust consume published SDK interfaces without requiring network access from Foundry users and without pinning arbitrary commits.This PR is intentionally draft until the first SDK release containing the interface archive is published. At that point, run
scripts/sync-credible-interfaces.sh <sdk-version>and commit the generated lock plus vendored interfaces.Changes
credible-sdk-interfaces.lockwhen syncingAssertioninherit the canonicalIAssertionentrypoint used by the extractorcredible-stdreleases unless the vendored files match a real pinned SDK releaseTesting
bash -n scripts/sync-credible-interfaces.sh scripts/test-sync-credible-interfaces.shscripts/test-sync-credible-interfaces.sh--checkrejects a missing lock and modified interfaceforge fmt --checkforge buildBreaking Changes
None to Solidity consumers. The release workflow now requires an SDK interface lock before publishing.
Prompted by: Odysseus
Refs ENG-4433