mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-10 04:15:54 +00:00
751068a4d4
Allow the fork to be specified consistently through an `option[Fork]` instead of varying inconsistencies depending on which call. When fork is not specified, the `BaseVMState` code picks the correct fork by default for the block number and chain. This change actually deletes code, because a number of functions (RPC etc) had redundant code to pick the fork, which always resolved to same as default. Signed-off-by: Jamie Lokier <jamie@shareable.org>