status-im / nimbus-eth1

Nimbus: an Ethereum Execution Client for Resource-Restricted Devices

Home Page:https://status-im.github.io/nimbus-eth1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use block number / information to determine fork rules

arnetheduck opened this issue · comments

In code like

if com.forkGTE(Shanghai):
, the global com state is used to validate data found in the block itself - this is confusing - the block rules should be decided from the given block header since there may be a mismatch between the two.