Upgrade signet.js to stable, add CI, update MPC signer#1
Merged
Conversation
- Upgrade signet.js from ^0.3.1 to ^0.4.0 (stable release) - Add GitHub Actions CI workflow (check + anchor test) - Update MPC signer to use createSignatureRequest/pollForRequestId API - Update README with MPC signing documentation
- Merge check and test into single job (both need full Solana toolchain) - Run anchor build before npm run check to generate IDL types - Use anchor test --skip-build since program is already compiled - Fix package-lock.json: resolve signet.js from npm registry instead of local symlink
solana-developers/actions does not exist; install from release.anza.xyz
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
^0.3.1→^0.4.0(stable release) — all 11 anchor tests pass.github/workflows/ci.ymlwith gate (rustfmt:check,clippy,typecheck,lint,knip) and test (anchor test) jobs. Uses Rust stable, Solana 2.3.0, Anchor 0.32.1contract.sign()to the newcreateSignatureRequest()+pollForRequestId()API, returning the Sepolia tx hash for observabilityTest plan
npm run check— passes (rustfmt, clippy, typecheck, lint, knip)anchor test— 11/11 passed