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

feat(helpers): refresh txSkeleton cell deps #687

Merged
merged 3 commits into from
May 15, 2024
Merged

feat(helpers): refresh txSkeleton cell deps #687

merged 3 commits into from
May 15, 2024

Conversation

homura
Copy link
Collaborator

@homura homura commented May 15, 2024

Description

This PR added a new function refreshTypeIdCellDeps to refresh cellDeps in txSkeleton

Usage

import { refreshTypeIdCellDeps } from '@ckb-lumos/lumos/helpers'
import { createRpcResolver } from '@ckb-lumos/lumos/config'

// call refresh before preparing signing entries
txSkeleton = await refreshTypeIdCellDeps(txSkeleton, {resolve: createRpcResolver(rpc)})
txSkeleton = prepareSigningEntries(txSkeleton)

The detailed usage can be found at #673

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Unit test

@homura homura requested a review from Keith-CY May 15, 2024 05:27
Copy link

vercel bot commented May 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lumos-website ✅ Ready (Inspect) Visit Preview May 15, 2024 5:27am

@homura homura merged commit eb5839a into develop May 15, 2024
7 checks passed
@homura homura deleted the refresh-deps branch May 15, 2024 05:40
@homura homura added this to the 0.23.0 milestone May 15, 2024
@github-actions github-actions bot mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants