-
Notifications
You must be signed in to change notification settings - Fork 28
Errors when using connectMetamask with colonyJS #14
Comments
After further investigation, the I was able to add a I then tested the
This gave me the following error when connected to both the local test network and rinkeby:
After further investigation, the |
I added a condition to the above mentioned |
I think I found the issue with intermittent success, which was being caused by |
Resolved with |
Description
When calling colonyJS methods using the
connectMetamask
example while connected to the rinkeby network, the following error is thrown:The transactions are going through and they are verifiable on Etherscan but
node-metamask
is not receiving the transaction receipts and the colonyJS methods are unable to complete successfully.The error is being thrown from the installed
ethers
package. The payload values are being returned from Metamask as strings, whichethers
is unable to convert to hex values. I am not sure if this is an issue withethers
, Metamask ornode-metamask
or whether it can solved with colonyJS.Also, I am able to successfully run colonyJS methods when using Metamask while connected to a local test network. I am only receiving this error when using Metamask while connected to Rinkeby.
Steps to Reproduce
Add the following code to
example/connectMetamask.js
just before disconnecting metamask:Make sure metamask is connected to Rinkeby and run the example:
Related Issues
JoinColony/colonyJS#243
JoinColony/colonyStarter#6
The text was updated successfully, but these errors were encountered: