Two step transaction status: published, and confirmed
Feature
Merge Request
Related Issue
resolves #229 (closed)
Description of Feature
sendAndReactToTransaction now listens to 2 events:
-
.on 'receipt' , rename 'Success' to 'Published'
-
.on('confirmation' change block confirmation to 7
and dispatch(updateTransaction( receipt.transactionHash, receipt.status ? 'Tx Confirmed' : 'Tx Fail' ))
And I added add a test method for stake to test, because the "feedback/callback methods" aren't implemented yet (see https://gitlab.com/fathom/assess/issues/239)
Motivation and Context
The data wouldn't update, because weren't waiting for enough blocks for MM to confirm the new data