Closed cds-amal closed 5 years ago
Using this space to keep track of notes on this issue. Assumptions may change pending further investigation.
Drizzle constructs and keeps a web3.eth.Contract instance with a from: set to the defaultAccount (accounts[0]) at set up time. This doesn't change when account is updated.
Note. There are two contract creation methods in our API - instantiateWeb3Contract and instantiateContract that would have to be addressed in a solution.
Confirmed duplicate of #191.
With Metamask primed with multiple accounts
truffle unbox drizzle
), deploy contracts, start react appNotes: The web3 contract object in SEND_CONTRACT_TX shows inequality between the
currentProvider
s selected address (the correct address) and theoptions
member which has the previously selected address.(edit: simplify reproduction)