NomicFoundation / edr

An Ethereum development runtime implementation that can be reused to build new developer tools.
MIT License
32 stars 3 forks source link

Add option to activate hardfork using UNIX timestamp #532

Open Wodann opened 3 days ago

Wodann commented 3 days ago

In EDR, we currently support configuration of hardfork activations using block numbers only. More commonly, UNIX timestamp are used to determine when blocks need to start being mined with a new hardfork.

Definition of Done

alcuadrado commented 3 days ago

Update hardfork activations to use timestamps, where applicable.

Every hardfork before the merge uses block numbers. Every hardfork after it uses timestamps. I don't remember what was the criteria for the merge itself.

fvictorio commented 16 minutes ago

The merge used difficulty, as far as I remember. I guess that's an edge case we can ignore.