Include genesis block state diff #61

Closed
opened 2021-04-09 03:16:06 +00:00 by i-norden · 2 comments
Member

When starting the statediffing process from genesis, the genesis block (0) should be included

When starting the statediffing process from genesis, the genesis block (0) should be included
Author
Member

The problem is that currently we go to fetch the parent header for the ParentHash in the current block, for the genesis block this does not exist. When blockNumber == 0 we should let the parent header be nil and use empty state to diff against.

The problem is that currently we go to fetch the parent header for the ParentHash in the current block, for the genesis block this does not exist. When blockNumber == 0 we should let the parent header be nil and use empty state to diff against.
arijitAD commented 2021-06-08 05:24:28 +00:00 (Migrated from github.com)

WIll merge after #78

WIll merge after #78
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#61
No description provided.