Skip to content

Conversation

@andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented Mar 31, 2022

Breaking changes

  • Removed utility functions: transaction.awaitExecuted(), transaction.awaitPending(). TransactionWatcher should be used directly, instead.
  • Changed interface of TransactionWatcher. The constructor does not expect a transaction hash anymore, but the functions await* do.
  • Introduced new functions on TransactionWatcher: awaitCompleted(), awaitAllEvents(), awaitAnyEvent() etc.
  • Removed Transaction.status (the one on TransactionOnNetwork should be read instead).
  • Transaction.getAsOnNetwork() does not wait for notarization / completion anymore. One should explicitly use the transaction watcher, when needed.

@andreibancioiu andreibancioiu self-assigned this Mar 31, 2022
@andreibancioiu andreibancioiu changed the title [WIP] Breaking change: adjustements to transaction awaitening, transaction watcher Breaking change: adjustements to transaction awaitening, transaction watcher Apr 1, 2022
@andreibancioiu andreibancioiu changed the title Breaking change: adjustements to transaction awaitening, transaction watcher Breaking change: adjustements to transaction awaitening and completion, transaction watcher Apr 1, 2022
@andreibancioiu andreibancioiu marked this pull request as ready for review April 1, 2022 16:32
ccorcoveanu
ccorcoveanu previously approved these changes Apr 4, 2022
andreibancioiu and others added 2 commits April 4, 2022 13:24
Co-authored-by: Claudiu-Marcel Bruda <claudiu725@yahoo.com>
@andreibancioiu andreibancioiu merged commit b389c98 into main Apr 4, 2022
@andreibancioiu andreibancioiu deleted the simplify-02 branch April 4, 2022 10:38
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.

4 participants