Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

How are Ethereum 2 block hashes computed?

According to EIP-3675, with the transition to Proof of Stake: Each block field listed in the table below MUST be replaced with the corresponding constant value Field Constant value Comment ...
eth's user avatar
  • 85.9k
2 votes
Accepted

Manually RLP-encoding an ETH tx gives an incorrect result

You need to convert tx["to"] to bytes before encoding. You also have tx["yParity"] where tx["v"] should be, per your syntax guide. from rlp import encode from web3.types ...
pacrob's user avatar
  • 181
1 vote

How to verify block.hash post-merge (block > 15.5M)?

As of May 7th 2024 (through Cancun), this is the solution for recreating the correct block hash for all 5 different "Eras" of block headers. The block hash from each era is calculated ...
Babs's user avatar
  • 31

Only top scored, non community-wiki answers of a minimum length are eligible