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
Opt-in feature flag name: --enable-merge-genesis-state
Feature Description
Current testnet tools all generate a phase0 genesis state and are perfect for testing the merge transition. However, now that the merge transition is completed on mainnet, we'd like to deprecate these tools to save on testing time/complexity with TTD. This would require client teams to support starting from a merge genesis state, i.e - post Bellatrix.
Since such a feature is mostly needed for testnets and internal testing tools, it'd be great to gate the acceptance of such a merge genesis state behind a flag, perhaps --enable-merge-genesis-state. Once the flag is enabled, the merge genesis state can be passed to the Prysm beacon node via the existing --genesis-state. In this manner, default behavior need not change (if that is a concern).
The feature request was briefly discussed in the interop channel of the Eth R&D discord server: here.
Note for posterity: This feature flag would likely be used with --disable-staking-contract-check since post-merge testnets would have the deposit contract embedded in the EL's genesis.json. This flag disables the contract check in prysm, failing which Prysm will log Could not query block with given hash.
The text was updated successfully, but these errors were encountered:
Please consider making this general enough that future beacon-chain upgrades after the Merge (like withdrawals/4844) are also able to start from a genesis state. E.g. --genesis-state-type=phase0|altair|merge|4844| (Or better: determine the type of state from the configured hardfork epoch values).
@protolambda definitely, we have code that slices the fork version bytes out of a BeaconState ssz blob and figures out the correct versioned BeaconState type to deserialize it.
🦄 Feature Tracking
Opt-in feature flag name:
--enable-merge-genesis-state
Feature Description
Current testnet tools all generate a phase0 genesis state and are perfect for testing the merge transition. However, now that the merge transition is completed on mainnet, we'd like to deprecate these tools to save on testing time/complexity with TTD. This would require client teams to support starting from a
merge
genesis state, i.e - post Bellatrix.Since such a feature is mostly needed for testnets and internal testing tools, it'd be great to gate the acceptance of such a
merge
genesis state behind a flag, perhaps--enable-merge-genesis-state
. Once the flag is enabled, themerge
genesis state can be passed to the Prysm beacon node via the existing--genesis-state
. In this manner, default behavior need not change (if that is a concern).The feature request was briefly discussed in the
interop
channel of the Eth R&D discord server: here.Tagging @z3n-chada and @marioevz for visibility.
Note for posterity: This feature flag would likely be used with
--disable-staking-contract-check
since post-merge testnets would have the deposit contract embedded in the EL'sgenesis.json
. This flag disables the contract check in prysm, failing which Prysm will logCould not query block with given hash
.The text was updated successfully, but these errors were encountered: