-
Notifications
You must be signed in to change notification settings - Fork 116
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
Commits on Mar 5, 2024
-
refactor(transaction): replace sendOrThrowIfError() with send() to si…
…mplify error handling
Configuration menu - View commit details
-
Copy full SHA for 7cfa3f0 - Browse repository at this point
Copy the full SHA 7cfa3f0View commit details -
refactor(transaction): replace waitOrThrowIfError() with wait() and s…
…afeWait() to simplify error handling
Configuration menu - View commit details
-
Copy full SHA for 9ae5d8a - Browse repository at this point
Copy the full SHA 9ae5d8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f66687 - Browse repository at this point
Copy the full SHA 9f66687View commit details -
refactor(transaction.ts): rename sendSafe method to safeSend for bett…
…er readability and consistency with other method names
Configuration menu - View commit details
-
Copy full SHA for 24b2958 - Browse repository at this point
Copy the full SHA 24b2958View commit details -
refactor(mina.ts, local-blockchain.ts, transaction.ts): replace isSuc…
…cess boolean with status enum for better clarity
Configuration menu - View commit details
-
Copy full SHA for 9082494 - Browse repository at this point
Copy the full SHA 9082494View commit details -
feat(transaction-flow.ts): add error handling for failed transactions…
… to improve robustness of the transaction flow test
Configuration menu - View commit details
-
Copy full SHA for 9ab75fb - Browse repository at this point
Copy the full SHA 9ab75fbView commit details -
docs(transaction.ts): update comments to reflect changes in transacti…
…on status handling and error handling
Configuration menu - View commit details
-
Copy full SHA for e2300a4 - Browse repository at this point
Copy the full SHA e2300a4View commit details -
refactor(transaction.ts): improve error handling and documentation fo…
…r transaction methods - Refactor send() method to throw an error when transaction submission fails, providing more explicit error handling. - Update send() method documentation to reflect changes and provide better usage examples. - Refactor safeSend() method to return a RejectedTransaction when internal errors are detected, providing more detailed feedback. - Update safeSend() method documentation to reflect changes and provide better usage examples. - Update wait() method usage examples in IncludedTransaction and RejectedTransaction to demonstrate error handling.
Configuration menu - View commit details
-
Copy full SHA for 8d1554f - Browse repository at this point
Copy the full SHA 8d1554fView commit details -
feat(CHANGELOG.md): introduce Transaction.safeSend() and PendingTrans…
…action.safeWait() methods to handle transaction errors refactor(CHANGELOG.md): rename Transaction.isSuccess to Transaction.status for better transaction state representation
Configuration menu - View commit details
-
Copy full SHA for 4ca39ab - Browse repository at this point
Copy the full SHA 4ca39abView commit details -
fix(run-live.ts): change condition to check transaction status instea…
…d of hash for better transaction tracking This change will allow us to track the transaction status more accurately and handle it accordingly.
Configuration menu - View commit details
-
Copy full SHA for 145a238 - Browse repository at this point
Copy the full SHA 145a238View commit details -
fix(transaction-flow.ts): return pendingTransaction instead of throwi…
…ng error to allow further processing of the transaction status
Configuration menu - View commit details
-
Copy full SHA for 8e920db - Browse repository at this point
Copy the full SHA 8e920dbView commit details -
docs(CHANGELOG.md): update breaking changes to collapse recent change…
…s in transaction parity
Configuration menu - View commit details
-
Copy full SHA for 1ed69eb - Browse repository at this point
Copy the full SHA 1ed69ebView commit details