-
-
Notifications
You must be signed in to change notification settings - Fork 327
Error object not properly filled out when submitting eth_subscribe
request.
#120
Comments
It looks to me like you're maybe hitting a managed RPC provider like This is why the Filter Subprovider exists, it essentially polyfills this feature into a client-side polling layer. |
If you confirm you're hitting Infura, we can close this issue. |
I'm not sure how to tell. I load my dApp in a webpage with the MetaMask extension installed and then send a JSON-RPC request using Also, note that my expectation here isn't that If this is an Infura problem and MetaMask is just blindly forwarding the error to me, how does one go about reporting a bug to them? |
Oh I see now. This is an issue with how provider-engine forms and forwards error codes from an RPC, relative to the JSON RPC spec. We would need to write a comprehensive mapping of RPC error codes to JSON RPC expected output, right about here. |
This has re-surfaced over the past week or so. (Or at least, that's when I first noticed it; it's possible it's been around much longer and just eluded my attention.) I've been getting back a success (?) response (specifically, |
When I send the following request over the JSON-RPC:
Expected (per spec):
Actually received:
The text was updated successfully, but these errors were encountered: