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
We need to implement a database upgrade (and downgrade) procedure for turning a regular Lighthouse node into a tree-states node. I had a previous version of this working but abandoned it because the on-disk format was still changing. The on-disk format is still expecting a few changes (e.g. #4475), but should be closer to stability now.
Rewrite DBColumn::BeaconBlockRoots to remove chunked keys.
Users can then recover historic states if they want them by running with --reconstruct-historic-states, which will reconstruct from genesis to the split slot.
The text was updated successfully, but these errors were encountered:
Description
We need to implement a database upgrade (and downgrade) procedure for turning a regular Lighthouse node into a
tree-states
node. I had a previous version of this working but abandoned it because the on-disk format was still changing. The on-disk format is still expecting a few changes (e.g. #4475), but should be closer to stability now.Steps to resolve
I think the upgrade should proceed as follows:
beacon_chain
#4413).OnDiskStoreConfig
with hierarchy exponents (see Tree states to support per-slot state diffs #4475) andlinear_blocks=false
.DBColumn::BeaconBlockRoots
to remove chunked keys.Users can then recover historic states if they want them by running with
--reconstruct-historic-states
, which will reconstruct from genesis to the split slot.The text was updated successfully, but these errors were encountered: