-
Notifications
You must be signed in to change notification settings - Fork 145
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
Change Transaction/PendingTransaction
behaviors
#1480
Merged
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7cfa3f0
refactor(transaction): replace sendOrThrowIfError() with send() to si…
MartinMinkov 9ae5d8a
refactor(transaction): replace waitOrThrowIfError() with wait() and s…
MartinMinkov 9f66687
refactor(transaction-flow.ts): replace waitOrThrowIfError() with wait()
MartinMinkov 24b2958
refactor(transaction.ts): rename sendSafe method to safeSend for bett…
MartinMinkov 9082494
refactor(mina.ts, local-blockchain.ts, transaction.ts): replace isSuc…
MartinMinkov 9ab75fb
feat(transaction-flow.ts): add error handling for failed transactions…
MartinMinkov e2300a4
docs(transaction.ts): update comments to reflect changes in transacti…
MartinMinkov 8d1554f
refactor(transaction.ts): improve error handling and documentation fo…
MartinMinkov 4ca39ab
feat(CHANGELOG.md): introduce Transaction.safeSend() and PendingTrans…
MartinMinkov 145a238
fix(run-live.ts): change condition to check transaction status instea…
MartinMinkov 8e920db
fix(transaction-flow.ts): return pendingTransaction instead of throwi…
MartinMinkov 1ed69eb
docs(CHANGELOG.md): update breaking changes to collapse recent change…
MartinMinkov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since both of them are in the same release, it would be nice to collapse that changelog with the changes from #1422 mentioned below
for example not have both
.send()
no longer throws an error ....send()
throws an error by default ...but just
.send()
when usingMina.Network
is now consistent withLocalBlockchain
in that it throws an errorThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great point! done!