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

Got error when transfer ckb using omni_lock address #717

Closed
qieman opened this issue Jun 21, 2024 · 2 comments · Fixed by #718
Closed

Got error when transfer ckb using omni_lock address #717

qieman opened this issue Jun 21, 2024 · 2 comments · Fixed by #718
Labels
bug Something isn't working
Milestone

Comments

@qieman
Copy link

qieman commented Jun 21, 2024

Describe the bug
Got error when transfer CKB using omni_lock address :
Unsupported flag: 18, please check if the script.argsis expected
It only appear at version 0.23.0, I downgrade lumos to resolve it.

version
@ckb-lumos/lumos : 0.23.0

To Reproduce

 const txSkeleton = await commons.common.transfer(
            _txSkeleton,
            [<omni_lock_address>],
            to,
            BigInt(amount),
        )

Expected behavior
Not throwing error

Screenshots
微信图片_20240621133329

@qieman qieman added the bug Something isn't working label Jun 21, 2024
@homura
Copy link
Collaborator

homura commented Jun 21, 2024

This error indicates that Lumos does not currently support the auth flag 18. We will add support ASAP

@homura homura added this to the 0.24.0 milestone Jun 24, 2024
@homura homura added this to Lumos Jun 24, 2024
@homura homura moved this to 🏗 In Progress in Lumos Jun 24, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in Lumos Jun 24, 2024
@homura
Copy link
Collaborator

homura commented Jun 24, 2024

Hi @qieman , the auth flag 18 is supported in #718 and has been released as a canary. You can try it out with the following code

npm install @ckb-lumos/[email protected]

Feel free to reopen it if you encounter any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants