feat(core): add KnownScript.SUdt#416
Conversation
Hanssen0
commented
Jun 30, 2026
- I have read the Contributing Guidelines
🦋 Changeset detectedLatest commit: 52309a4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 20 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for appccc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for liveccc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for apiccc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for docsccc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR extends the core client’s well-known script registry by adding KnownScript.SUdt and wiring it into the built-in mainnet/testnet script deployment maps, allowing consumers to resolve sUDT script deployment info via the existing getKnownScript flow.
Changes:
- Add
KnownScript.SUdtto theKnownScriptenum. - Register sUDT script deployment info (code hash + cell dep) in both mainnet and testnet advanced script maps.
- Add a changeset to publish the new enum member as a minor change.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/core/src/client/knownScript.ts | Adds SUdt to the public KnownScript enum. |
| packages/core/src/client/clientPublicTestnet.advanced.ts | Adds testnet sUDT script deployment info to TESTNET_SCRIPTS. |
| packages/core/src/client/clientPublicMainnet.advanced.ts | Adds mainnet sUDT script deployment info to MAINNET_SCRIPTS. |
| .changeset/silent-actors-wink.md | Adds a changeset to release the new known script entry. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
