trufflesuite / drizzle-legacy

Reactive Ethereum datastore for dapp UIs.
http://truffleframework.com/docs/drizzle/getting-started
MIT License
502 stars 129 forks source link

Drizzle CacheSend does not wait for Metamask confirmation #142

Closed adibas03 closed 5 years ago

adibas03 commented 6 years ago

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

adibas03 commented 5 years ago

Seems to be working just fine