Publish Soroban contracts to contrafactory#57
Closed
alex-predicate wants to merge 1 commit intomainfrom
Closed
Conversation
The publish workflow only handled Foundry/Solidity contracts, so Soroban WASM contracts like test-stablecoin were missing from the contrafactory package registry. Add a parallel publish-soroban job that builds the Soroban workspace and publishes each .wasm artifact via the contrafactory REST API. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Closing — contrafactory doesn't support non-EVM artifacts yet. Will deploy Soroban contracts via scripts for now. |
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
publish-sorobanjob to the publish workflow, running in parallel with the existing Foundry job/api/v1/packages?project=predicate-contractsDetails
The existing publish workflow only discovered Foundry/Solidity contracts via
contrafactory publish. Soroban contracts (Rust/WASM) were invisible to it, sotest-stablecoinnever appeared in the registry.The new job:
soroban/workspace towasm32-unknown-unknown.wasmoutputs and POSTs each to the contrafactory API withchain: stellar,builder: sorobanjqfor safe JSON construction (avoids issues with large hex payloads)Test plan
workflow_dispatch) to verify the Soroban job runs successfullytest-stablecoinappears in/api/v1/packages?project=predicate-contracts🤖 Generated with Claude Code