drizzle-react-legacy icon indicating copy to clipboard operation
drizzle-react-legacy copied to clipboard

Unable to initialize contracts on Ropsten testnet. No problems with ganache.

Open jack0son opened this issue 4 years ago • 2 comments

Hey team,

Would anyone be able to point me in the right direction to begin debugging this issue. I understand that this is now a legacy codebase so support is likely limited.

My standard deploy process is to migrate contracts to ganache, which places the resulting contract artifacts in my app src directory where drizzle then imports them from drizzle-setup.js.

When migrating to ropsten on infura, web3 initialization is successful, but the contracts fail to initialize. Redux store shows the initialized var is false for both contracts.

Very much appreciate any guidance on debugging this.

Package versions: Drizzle: 1.3.3 drizzle-react: 1.3.0 Truffle v5.0.31 (core: 5.0.31) Solidity - 0.5.0 (solc-js) Node v10.16.3

jack0son avatar Sep 24 '19 02:09 jack0son

@jgitgud is it possible metamask is not set to the correct network while loading the dapp?

cds-amal avatar Sep 24 '19 03:09 cds-amal

I'm using a custom provider from metamask's web3-provider-engine, which doesn't seem to provide a network ID setting. It looks like the provider get's network information from rpc calls.

jack0son avatar Sep 24 '19 04:09 jack0son