-
Notifications
You must be signed in to change notification settings - Fork 20.7k
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
RPC: eth_blockByNumber: can't receive genesis block #367
Comments
@jorisbontje Can you confirm merge of #369 fixes the issue? If so, I think we can close |
Closed. Please re-open if the issues persists |
@tgerring confirmed, both |
jpeletier
pushed a commit
to epiclabs-io/go-ethereum
that referenced
this issue
Apr 22, 2018
Add PSS fwd cache cleaning
ngtuna
added a commit
to ngtuna/tomochain
that referenced
this issue
Dec 29, 2018
…eward create new api get rewards
AusIV
pushed a commit
to NoteGio/go-ethereum
that referenced
this issue
Jul 12, 2021
Add OverrideMagneto flag
maoueh
pushed a commit
to streamingfast/go-ethereum
that referenced
this issue
Aug 20, 2021
tony-ricciardi
pushed a commit
to tony-ricciardi/go-ethereum
that referenced
this issue
Jan 20, 2022
* fixed quorum size * removed some logging * fixed tests for the commit message * changed quorum size to ceil(2/3*n)
tanishqjasoria
pushed a commit
to tanishqjasoria/go-ethereum
that referenced
this issue
Oct 31, 2023
…eum#367) * fix(trace): fix * Update version.go
mralj
pushed a commit
to NethermindEth/rollup-geth
that referenced
this issue
Oct 1, 2024
maoueh
pushed a commit
to streamingfast/go-ethereum
that referenced
this issue
Jan 7, 2025
Re-add kilic BLS12-381 library
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When calling
eth_blockByNumber
on the genesis block (block.number = 0), go-ethereum build dd08679 gives the error "GetBlock requires either a block 'number' or a block 'hash' as argument".Request:
Response:
Calling
eth_blockByNumber
on blocks > 0 works as expected.Request:
Response:
Calling
eth.block(0)
through the JS console works as expected.Relevant code: https://github.com/ethereum/go-ethereum/blob/develop/rpc/args.go#L26-L28
However I would expect to be able to get the block details on the Genesis Block as well through the RPC API.
The text was updated successfully, but these errors were encountered: