Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: support customized spore script for transfer&melt method #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ashuralyk
Copy link
Contributor

Description

Reported by UTXOGlobal team that methods transferSpore and meltSpore are not allowed for user-defined spore scripts. To solve this issue, we should expose ScriptInfoLike parameter.

Copy link

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 2da7779

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@ckb-ccc/spore Patch
@ckb-ccc/shell Patch
@ckb-ccc/ccc Patch
ckb-ccc Patch
@ckb-ccc/connector Patch
@ckb-ccc/examples Patch
@ckb-ccc/ccc-playground Patch
@ckb-ccc/connector-react Patch

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

@@ -145,17 +145,22 @@ export async function transferSporeCluster(params: {
id: ccc.HexLike;
to: ccc.ScriptLike;
tx?: ccc.TransactionLike;
scriptInfo?: SporeScriptInfoLike;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the same args as assertCluster - scripts to allow auto choosing scriptInfo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants