-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eth_getBlockByHash for genesis block does not work #634
Comments
Hi @winor30, do you have same issue on Astar? |
Hi @akru. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
This issue was closed because it has been stalled for 7 days with no activity. |
This issue was closed because it has been stalled for 7 days with no activity. |
The bug was fixed in release The cause was incorrect caching of the block schema which caused errors while decoding some blocks. |
@Dinonard Shibuya (v4.13.0):
I think this is something related to eth block hash <> substrate hash mapping |
This |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Found the root cause, working on fixing it. |
PR has been merged to upstream master branch. Genesis block issue persist until this commit will be included in Astar repo by uplifting frontier pallet version. |
Description
There was a problem that genesis block data was null when retrieved with
eth_getBlockByHash
.We discovered this problem when we were trying to use graph-node with Shibuya network, and the data retrieval of the genesis block failed.
Steps to Reproduce
I tried with Shibuya network, ETH main network, and Moonbase alpha Testnet, and confirmed that only Shibuya network could not acquire data.
Shibuya network

ETH main network

Moonbase alpha Testnet

Expected vs. Actual Behavior
Ideally, I believe that the Astar network should also be able to retrieve genesis block data using block hash.
However, if there is a reason specific to Astar, I do not see a problem if the genesis block data cannot be retrieved using block hash.
Additional Information
I have seen similar issues with issues ( polkadot-evm/frontier#78 ) in the library ( https://github.com/paritytech/frontier ) used by Astar.
However, I do not know why it occurs only in Astar, as this issue has been resolved, although the Issue has not been closed.
Moonbeam appears to have the issue resolved.
https://github.com/PureStake/moonbeam/blob/master/tests/tests/test-block/test-block-genesis.ts#L37-L53
The text was updated successfully, but these errors were encountered: