Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC error with Metamask version 10.13.0 #30

Closed
rjx18 opened this issue Apr 25, 2022 · 2 comments
Closed

RPC error with Metamask version 10.13.0 #30

rjx18 opened this issue Apr 25, 2022 · 2 comments

Comments

@rjx18
Copy link

rjx18 commented Apr 25, 2022

Hi Jieyi!

I've been doing some testing for some new features, and noticed an error when testing some previously working code:

MetaMask - RPC Error: [ethjs-query] while formatting outputs from RPC 
'{"value":{"code":-32603,"data":{"code":-32000,"message":"theta RPC returns an error: -32000: rlp: expected input list for types.EthTransaction"}}}'

This error occurs on every contract call, and seems to also occur when simply transferring TFUEL via Metamask.

I tested this on other sites as well, such as OpenTheta, and it seems like the error is occurring everywhere, which means this is something to do with Metamask or the RPC.

Looking at the Metamask update history, they've just updated their wallet 6 days ago to version 10.13.0, which I suspect is the cause of the error.

I rolled back to version 10.11.3 and it all seems to work fine now. Strange thing is, before I pushed the updates (frontend, not contract level) to the mainnet, everything worked fine on the testnet. Perhaps you guys already fixed it? I'll do some further testing to try to figure out what is going on. Any thoughts on what could be going wrong?

@rjx18
Copy link
Author

rjx18 commented Apr 25, 2022

The issue seems to have fixed itself. Very strange. Sorry for any inconvenience!

@rjx18 rjx18 closed this as completed Apr 25, 2022
@jieyilong
Copy link
Member

Interesting. We didn't make any change to the RPC adapter in the past few weeks. Thanks for letting us know!

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

No branches or pull requests

2 participants