You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The block hash from the anvil node is 0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0, but the header hash of HeaderByNumber in go-ethereum is 0x9ccef7404fb79b69399b98a9ae98ddf7e595d8180e21085d432074f62ca4920c.
They are not a match, so I did some tests.
And this time the result is 0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0, it is the same as the block hash from the anvil node.
So I guess there is something wrong with withdrawals_root: Some(partial_header.mix_hash) in crates/anvil/core/src/eth/block.rs.
By the way, There is no problem in this version ghcr.io/foundry-rs/foundry:nightly-4a643801d0b3855934cdec778e33e79c79971783.
I understand that your team may be busy, but I would greatly appreciate it if you could acknowledge receipt of this report and provide an estimated timeline for resolving this issue. Your prompt attention to this matter would be highly appreciated.
Thank you for your time and assistance in addressing this bug.
The text was updated successfully, but these errors were encountered:
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
macOS (Intel)
Describe the bug
Environment
go-ethereum: v1.13.14
foundry: ghcr.io/foundry-rs/foundry:latest
Description
When I use the command
eth_getBlockByNumber
, I get the following response from the anvil node.The block hash from the anvil node is
0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0
, but the header hash ofHeaderByNumber
in go-ethereum is0x9ccef7404fb79b69399b98a9ae98ddf7e595d8180e21085d432074f62ca4920c
.They are not a match, so I did some tests.
This time the result is
0x9ccef7404fb79b69399b98a9ae98ddf7e595d8180e21085d432074f62ca4920c
, it is the same as the header hash ofHeaderByNumber
.And this time the result is
0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0
, it is the same as the block hash from the anvil node.So I guess there is something wrong with
withdrawals_root: Some(partial_header.mix_hash)
incrates/anvil/core/src/eth/block.rs
.By the way, There is no problem in this version
ghcr.io/foundry-rs/foundry:nightly-4a643801d0b3855934cdec778e33e79c79971783
.I understand that your team may be busy, but I would greatly appreciate it if you could acknowledge receipt of this report and provide an estimated timeline for resolving this issue. Your prompt attention to this matter would be highly appreciated.
Thank you for your time and assistance in addressing this bug.
The text was updated successfully, but these errors were encountered: