MetaMask / MetaMask/metamask-extension
[Sentry] Error: JsonRpcEngine: Response has no error or result for request:
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Sentry Issue: [METAMASK-X62S](https://metamask.sentry.io/issues/4344786864/?referrer=github_integration)
```
Error: JsonRpcEngine: Response has no error or result for request:
{
"id": 1705731554041804,
"jsonrpc": "2.0",
"params": [
"0x3d0f40",
false
],
"method": "eth_getBlockByNumber"
}
at new EthereumRpcError (node_modules/eth-rpc-errors/dist/classes.js:18:1)
at JsonRpcEngine._checkForCompletion (node_modules/json-rpc-engine/dist/JsonRpcEngine.js:239:1)
at JsonRpcEngine._processRequest (node_modules/json-rpc-engine/dist/JsonRpcEngine.js:152:1)
at JsonRpcEngine._handle (node_modules/json-rpc-engine/dist/JsonRpcEngine.js:126:1)
```
Contributor guide
Research direction
Start with the Sentry report and trace the failing eth_getBlockByNumber request through node_modules/json-rpc-engine/dist/JsonRpcEngine.js, especially _handle, _processRequest, and _checkForCompletion. Compare the response path with the EthereumRpcError location in node_modules/eth-rpc-errors/dist/classes.js; done means identifying why the request completes without an error or result and documenting or fixing that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100