'Metamask transaction error, RPC error, VM exception
I had the following error:
errored: Internal JSON-RPC error. { "message": "VM Exception while processing transaction: revert", "code": -32000, "data": { "stack": "c: VM Exception while processing transaction: revert\n at Function.c.fromResults (/usr/local/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:4:192416)\n at e.exports (/usr/local/lib/node_modules/ganache-cli/build/ganache-core.node.cli.js:55:2089395)", "name": "c" } }
And the problem was I already had a ganache metamask network setup. So I deleted that and made a new network with an updated port, and overrided the warning that the chain id was already being used, by just submitting the network anyway.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
