MetaMask / eth-json-rpc-filters

json-rpc-engine middleware implementing ethereum filter methods
ISC License
30 stars 38 forks source link

Adding handling for null block in getBlocksForRange #61

Closed jpuri closed 2 years ago

jpuri commented 2 years ago

https://github.com/MetaMask/metamask-extension/issues/10550

PR fixes issue that getBlocksForRange can return null block. The approach takes for the fix is as details here:

  1. is a block is not found retry 3 times
  2. if block is not found even after 3rd retry propagate error
kumavis commented 1 year ago

i think the actual fix is here https://github.com/MetaMask/eth-json-rpc-filters/pull/83