Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Jan 3, 2024
1 parent dda2a32 commit 2b562dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cl/persistence/state/epoch_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ func EpochDataFromBeaconState(s *state.CachingBeaconState) *EpochData {
CurrentJustifiedCheckpoint: s.CurrentJustifiedCheckpoint(),
PreviousJustifiedCheckpoint: s.PreviousJustifiedCheckpoint(),
FinalizedCheckpoint: s.FinalizedCheckpoint(),
HistoricalSummariesLength: s.HistoricalSummariesLength(),
HistoricalRootsLength: s.HistoricalRootsLength(),
}
}

Expand Down
1 change: 1 addition & 0 deletions cmd/capcli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ func (r *RetrieveHistoricalState) Run(ctx *Context) error {
if err := allSnapshots.ReopenFolder(); err != nil {
return err
}
allSnapshots.ReopenFolder()
if err := state_accessors.ReadValidatorsTable(tx, vt); err != nil {
return err
}
Expand Down

0 comments on commit 2b562dd

Please sign in to comment.