Skip to content

Commit

Permalink
Backwards compatible PersistedBeaconChain
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Dec 24, 2024
1 parent fc623fe commit 06f6177
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions beacon_node/beacon_chain/src/persisted_beacon_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ pub struct PersistedBeaconChain {
/// https://github.com/sigp/lighthouse/issues/1784
pub _canonical_head_block_root: Hash256,
pub genesis_block_root: Hash256,
/// DEPRECATED
pub ssz_head_tracker: SszHeadTracker,
}

/// DEPRECATED
#[derive(Encode, Decode, Clone)]
pub struct SszHeadTracker {
roots: Vec<Hash256>,
slots: Vec<Slot>,
}

impl StoreItem for PersistedBeaconChain {
Expand Down

0 comments on commit 06f6177

Please sign in to comment.