ethereum / execution-specs

Specification for the Execution Layer. Tracking network upgrades.
Creative Commons Zero v1.0 Universal
806 stars 222 forks source link

Support copying 8192 blocks at EIP-2935 transition #949

Open petertdavies opened 1 month ago

petertdavies commented 1 month ago

At the fork transition, EIP-2935 requires the last 8192 block hashes to be written to the history storage address. Since we only store the last 256 blocks we are unable to support this.

SamWilsn commented 1 month ago

Do you have an idea of how you want to solve this? I was thinking maybe modifying the preceding fork(s) to store more blocks?

gurukamath commented 1 month ago

Do you have an idea of how you want to solve this? I was thinking maybe modifying the preceding fork(s) to store more blocks?

Based on the latest discussions on this EIP, I believe we won't need to refill the history window. We just let the ring buffer fill organically as the blocks are processed. Will keep an eye on this space.