Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Error: [ethjs-query] while formatting outputs from RPC #33

Open
NEO2756 opened this issue Jul 25, 2019 · 18 comments
Open

Error: [ethjs-query] while formatting outputs from RPC #33

NEO2756 opened this issue Jul 25, 2019 · 18 comments

Comments

@NEO2756
Copy link

NEO2756 commented Jul 25, 2019

Issue Type

Not able to deploy smart contract.

Description

I am on ethereum private network (via running my local endpoint node ) and trying to deploy contract using metamask. The internal error from metamask show some Issue with ethjs-query module:-

{
"note": "transactions:tx-state-manager#fail - add error",
"op": "add",
"path": "/err",
"timestamp": 1563861209948,
"value": {
"message": "Error: [ethjs-query] while formatting outputs from RPC '{"value":{"message":"missing trie node 0d0151dcc41746f67e67a17d8761aaae22351d014f25dca2fc63f42d34623ac4 (path )","code":-32603}}'",
"stack": "Error: [ethjs-query] while formatting outputs from RPC '{"value":{"message":"missing trie node 0d0151dcc41746f67e67a17d8761aaae22351d014f25dca2fc63f42d34623ac4 (path )","code":-32603}}'\n at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background.js:1:1210794"
}

Steps to reproduce

Deploy Smart contract using metamask which internally uses ethjs

Versions

  • Browser: Chrome
@adamsoffer
Copy link

@NEO2756 I'm getting this as well

@SilentCicero
Copy link
Member

SilentCicero commented Aug 24, 2019 via email

@adamsoffer
Copy link

Got it working. Was an issue with my web3 provider

@ahmed-numaan
Copy link

@adamsoffer What was the issue? I am also facing same issue.

@stackchain
Copy link

@adamsoffer what was the issue?

@adamsoffer
Copy link

Apologies, I can't remember the specifics.

@JeanGalt1957
Copy link

@ahmed-numaan @stackchain if you are launching dapps from truffle develop and getting this or similar errors, try reseting your metamask accounts (settings > advanced > reset account). Worked for me. I was getting 'incorrect nonce' errors and some other weird ones, believe it stemmed from the fact the local develop chain uses a persistent mnemonic (unlike ganache, which spins up a new one each time). I think metamask was getting confused by my old transactions in previous run start launches getting mixed in with new ones after fresh deployments

@nxt3d
Copy link

nxt3d commented May 30, 2021

Thanks this worked for me!

@JeanGalt1957
Copy link

Thanks this worked for me!

👍🏼 Glad to hear it

@AAYUSH-GUPTA-coder
Copy link

Not Working for me
Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32000,"message":"replacement transaction underpriced"}}'

@AAAZZZR
Copy link

AAAZZZR commented Jun 6, 2021

Not Working for me
Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32000,"message":"replacement transaction underpriced"}}'

same for me :(
did you deal with that?

@Turing-bei
Copy link

Not Working for me
Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32000,"message":"replacement transaction underpriced"}}'

same for me :(
did you deal with that?

Have you found a solution?

@abids99
Copy link

abids99 commented Jul 6, 2021

Not Working for me
Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32000,"message":"replacement transaction underpriced"}}'

same for me :(
did you deal with that?

Have you found a solution?

inpage.js:1 MetaMask - RPC Error: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"message":"VM Exception while processing transaction: revert","code":-32000,

same here :(

@Yintii
Copy link

Yintii commented Aug 22, 2021

I am getting this error while following this example, https://dev.to/dabit3/the-complete-guide-to-full-stack-ethereum-development-3j13 , whenever I sign the transaction it happens.

@3b40eb98
Copy link

3b40eb98 commented Oct 2, 2021

I am getting this error while following this example, https://dev.to/dabit3/the-complete-guide-to-full-stack-ethereum-development-3j13 , whenever I sign the transaction it happens.

I don't know if you solved it, but apparently it's a metamask problem. I reset my wallet and it worked after...
image

@Manuelandro
Copy link

Same error on HardHat node

@ghost
Copy link

ghost commented Nov 9, 2021

Not Working for me
Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32000,"message":"replacement transaction underpriced"}}'

same for me :(
did you deal with that?

Have you found a solution?

inpage.js:1 MetaMask - RPC Error: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"message":"VM Exception while processing transaction: revert","code":-32000,

same here :(

have you find the any solution for it... cause i got the same error while deploying some small contracts with the help of meta mask and remix...

@ethSplit
Copy link

I solved this problem by increasing gas limit on truffle and ganache. Hope it helps someone here too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests