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(signPsbt): add txid to return payload #6078

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Jan 22, 2025

Try out Leather build c508dd2Extension build, Test report, Storybook, Chromatic

Closes #5292

In this PR, we now return the txid when an app has requested that the tx be broadcast.

I had a hard time working with the signPsbt tests. They were hard coded, because a previous version of Playwright didn't support ESM imports. This was since fixed, enabling a refactor of the tests to generate the transaction being tested as part of the tests.

Also added is another test to verify that failed broadcasts also return to the app

Tests running

2025-01-22-000398.mp4

@kyranjamie kyranjamie marked this pull request as ready for review January 22, 2025 16:00
@kyranjamie kyranjamie merged commit c19a902 into dev Jan 22, 2025
32 checks passed
@kyranjamie kyranjamie deleted the feat/return-txid branch January 22, 2025 17:29
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.

Return txid when broadcasting PSBT
2 participants