scroll-tech / go-ethereum

Scroll's fork of the official Go implementation of the Ethereum protocol
GNU Lesser General Public License v3.0
470 stars 271 forks source link

fix load genesis #834

Closed HAOYUatHZ closed 2 months ago

HAOYUatHZ commented 2 months ago

change to use current develop behavior. this is also what previous upstream uses.

haven't digged into the root cause, but this work and we won't commit the genesis each time we restart (which will cause overwriting headBlock and the node will re-build the chain in the memory using ancient blocks).