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
While exploring #1135, we realised that there is an issue where we don't call the submit_and_await_commitfuel-core API, but rather first submit, then await for commit (see provider.rs l189).
This can create issues where the tx id returned is not synchronized properly.
This needs to be refactored, but first we need a unified TxStatus type as raised in #1179.
The text was updated successfully, but these errors were encountered:
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]>
While exploring #1135, we realised that there is an issue where we don't call the
submit_and_await_commit
fuel-core
API, but rather first submit, then await for commit (seeprovider.rs
l189).This can create issues where the tx id returned is not synchronized properly.
This needs to be refactored, but first we need a unified
TxStatus
type as raised in #1179.The text was updated successfully, but these errors were encountered: