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(sample): view for sample #127

Merged
merged 5 commits into from
Feb 6, 2023

Conversation

Daryl-L
Copy link
Contributor

@Daryl-L Daryl-L commented Feb 4, 2023

No description provided.

packages/samples/mvp-dapp/src/views/read.view.ts Outdated Show resolved Hide resolved
packages/samples/mvp-dapp/src/views/load.view.ts Outdated Show resolved Hide resolved
packages/samples/mvp-dapp/src/views/load.view.ts Outdated Show resolved Hide resolved
packages/samples/mvp-dapp/src/views/load.view.ts Outdated Show resolved Hide resolved
@yanguoyu
Copy link
Contributor

yanguoyu commented Feb 5, 2023

I think ctx.ok's first parameter can be an object, why do we need to transfer it to a string?

@Daryl-L
Copy link
Contributor Author

Daryl-L commented Feb 5, 2023

I think ctx.ok's first parameter can be an object, why do we need to transfer it to a string?

I just referred to what @PainterPuppets did.

@Daryl-L Daryl-L requested a review from Keith-CY February 6, 2023 13:32

txSkeleton.update('witnesses', (witnesses) => {
if (witness === '0x' || witness === '') {
const omniLock = config.getConfig().SCRIPTS.OMNI_LOCK as NonNullable<config.ScriptConfig>
Copy link
Member

Choose a reason for hiding this comment

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

Seems that chain type mainnet/testnet is not set, but we can do it later.

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.

3 participants