Closed yuwiggin closed 5 years ago
Make sure you're using ethereumjs-testrpc and not injecting web3 from another service - e.g. from Parity or MetaMask.
I had this problem too because I forgot to turn off Parity and MetaMask from Google Chrome extensions, after that the app created local web3 from testrpc and everything worked.
@yuwiggin If you are using MetaMask, make sure it's connected to localhost:8545 (you can change networks in the upper-right dropdown). Also, use the mnemonic given by the testRPC (it outputs when you first run the testrpc) to unlock MetaMask. You can do this by locking MetaMask and selecting "I forgot my password", from there paste the mnemonic into the textarea and choose any password.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if no there is no reply to further comments.
tried to run this example but failed. The stored value is: 0 (i.e. initial state) instead of 5 (a setting).