trufflesuite/drizzle-legacy

Drizzle CacheSend does not wait for Metamask confirmation

Closed this issue · 1 comments

When caheSend is called on a contract function, it needs to wait for the signing and sending of said transaction, before waiting to add to the transactionStack. The present behavior does not wait for that and as such, excpt using an unlocked account on a node that needs no confirmation, the stackIdwould not exist in the transactionStack and an immediate check would fail.
This was tested using metamask, and while metamask was awaiting confirmation, drizzle picked an empty stack.
This is related to #134

OS; Ubuntu 18.0.4
Drizzle version: 1.2.4
Metamask version: 5.0.2

Seems to be working just fine