EIP-2935: Save historical block hashes in state

I am working on EIP-7709 (discussion here), which is just the result from splitting the verkle-specific stuff from the historical saving in a storage contract.

Judging from discussions at the interop, it seems like there’s been agreement that:

  • The BLOCKHASH opcode (0x40) should remain the same as it was before (gas cost of 20, return a valid blockhash for the last 256 blocks, and return 0 for block before.)
  • From the (EIP-2935) fork, users can call the storage contract to fetch historical block hashes

Reading this thread, this seems to somewhat differ from the initial intention behind EIP-2935, so wanted to document this here.

3 Likes