You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something that is most definitely also broken in the rebased beverly hills. This is an analysis of the bug, it will not be fixed for now as kaustinen will do the transition on block 1 anyway.
If this function returns false (and it will as the verkle root at genesis is not a legacy node since it uses its own storage format, it will override the genesis to be DefaultGenesisBlock.
As a result, it will complain that the genesis hashes differ.
This will not be fixed before we use the state provider, as it would take a lot of time and will be obsolete soon.
The text was updated successfully, but these errors were encountered:
This is something that is most definitely also broken in the rebased beverly hills. This is an analysis of the bug, it will not be fixed for now as kaustinen will do the transition on block 1 anyway.
The code has been changed so that
SetupGenesisBlockWithOverride
will try to load the genesis from the db. If it finds one, it will check for its state, no longer usingstate.New
but a MPT-specific function calledHasLegacyNode
: https://github.com/gballet/go-ethereum/blob/kaustinen-with-shapella/core/genesis.go#L345If this function returns
false
(and it will as the verkle root at genesis is not a legacy node since it uses its own storage format, it will override the genesis to beDefaultGenesisBlock
.As a result, it will complain that the genesis hashes differ.
This will not be fixed before we use the state provider, as it would take a lot of time and will be obsolete soon.
The text was updated successfully, but these errors were encountered: