Skip to content

Commit

Permalink
fix: ignore logsBloom field for eth_getBlockByNumber rpc (#1789)
Browse files Browse the repository at this point in the history
* fix: ignore logsBloom field for eth_getBlockByNumber rpc

Signed-off-by: bennett <bennett@umaproject.org>

---------

Signed-off-by: bennett <bennett@umaproject.org>
Co-authored-by: Paul <108695806+pxrl@users.noreply.github.com>
  • Loading branch information
bmzig and pxrl authored Aug 28, 2024
1 parent aad6559 commit 61ef0bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/ProviderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function compareRpcResults(method: string, rpcResultA: unknown, rpcResultB: unkn
"l1BatchTimestamp", // zkSync
"size", // Alchemy/Arbitrum (temporary)
"totalDifficulty", // Quicknode/Alchemy (sometimes)
"logsBloom", // zkSync (third-party providers return 0x0..0)
],
rpcResultA as Record<string, unknown>,
rpcResultB as Record<string, unknown>
Expand Down

0 comments on commit 61ef0bc

Please sign in to comment.