You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#1180, #1128.
This PR uses the correct API for sending a transaction and ensuring that
we wait for the commit of the transaction before returning.
This is needed because otherwise there might be a disconnect between
submitting the transaction and awaiting for its commit, if it is done
using the two separate APIs as before.
BREAKING CHANGE:
- `send_transaction_and_await_commit` function now returns a `TxStatus`
instead of `TxId`.
---------
Co-authored-by: MujkicA <[email protected]>
Co-authored-by: hal3e <[email protected]>
Currently, we have our own
send_transaction_and_await
where we callsubmit
and thenawait_transaction_commit
.We can just delegate to
submit_and_await_commit
instead.Some refactoring is needed as we do some checks before submitting a tx.
The text was updated successfully, but these errors were encountered: