nimbus-eth1 icon indicating copy to clipboard operation
nimbus-eth1 copied to clipboard

Use block number / information to determine fork rules

Open arnetheduck opened this issue 1 month ago • 0 comments

In code like https://github.com/status-im/nimbus-eth1/blob/4e50b05564f03126ee6bc85192811a7d8aced105/nimbus/core/withdrawals.nim#L25, 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.

arnetheduck avatar Jun 07 '24 16:06 arnetheduck