-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor patches to return valid data from ETH JSON-RPC (#762)
validates using ETH RPC's length specifications: https://eth.wiki/json-rpc/API#eth_getblockbyhash add option to return earliest block on 0x0 The graph's own API doesn't handle it well when the block returned during it's origin search returns an invalid-block (since 0x0 doesn't exist on Neon) The patch gives the option to return the earliest known block when 0x0 or 0 is passed to the eth_getBlockByNumber RPC Enable using USE_EARLIEST_BLOCK_IF_0_PASSED env flag
- Loading branch information
1 parent
5e2f054
commit 3dca0ad
Showing
3 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters