Hey everyone, @dan-i @filip @thecil
I hope all is well with you! I have recently gotten stuck on the project on the Coin Flipp Dapp Project.
I have started to receive an error when trying to interact with my dapp through the localhost server and Ganache. I am getting some error that seems to be pertaining to Ganache. Here is the following error message that I am receiving. Everything was working fine until this point.
MetaMask - RPC Error: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"message":"VM Exception while processing transaction: revert","code":-32000,"data":{"0x561ecfe8301c8c7c2724531363728afeaf555613467b10462f470cf869d16d36":{"error":"revert","program_counter":273,"return":"0x"},"stack":"RuntimeError: VM Exception while processing transaction: revert\n at Function.RuntimeError.fromResults (/tmp/.mount_ganachwb0RIt/resources/static/node/node_modules/ganache-core/lib/utils/runtimeerror.js:94:13)\n at BlockchainDouble.processBlock (/tmp/.mount_ganachwb0RIt/resources/static/node/node_modules/ganache-core/lib/blockchain_double.js:627:24)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)","name":"RuntimeError"}}}}' {code: -32603, message: "Error: [ethjs-query] while formatting outputs from…/task_queues.js:93:5)","name":"RuntimeError"}}}}'"}
I’ve spend 2 days trying to figure this out and look this up. With my current knowledge I have been unable to figure it out. Would anyone happen to know what would be causing me to get this error?
Things I’ve already tried:
- Resetting my MM
- Reinstalling MM
- Resetting my computer
- Clearing Cache
- Switching from port number 7545 to 8545
- Deleting CoinFlip.json file and re-migrating
- Going over my code
I think there may have been another student with a similar issue as well as I noticed the same question as mine posted on Ethereum Stack Exchange from 6 days ago for a coin flip dapp. Here is my github as well: https://github.com/Paul-Munley/CoinFlipDapp
Thank you for the help!