Skip to content

Commit

Permalink
Caplin: do not kill caplin when we have non-valid state snapshots (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 authored Jan 7, 2025
1 parent 776d082 commit 04799cb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/caplin/caplin1/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,6 @@ func RunCaplinService(ctx context.Context, engine execution_client.ExecutionEngi
}
}
stateSnapshots := snapshotsync.NewCaplinStateSnapshots(ethconfig.BlocksFreezing{}, beaconConfig, dirs, snapshotsync.MakeCaplinStateSnapshotsTypes(indexDB), logger)
if err := stateSnapshots.OpenFolder(); err != nil {
return err
}
antiq := antiquary.NewAntiquary(ctx, blobStorage, genesisState, vTables, beaconConfig, dirs, snDownloader, indexDB, stateSnapshots, csn, rcsn, syncedDataManager, logger, config.ArchiveStates, config.ArchiveBlocks, config.ArchiveBlobs, config.SnapshotGenerationEnabled, snBuildSema)
// Create the antiquary
go func() {
Expand Down

0 comments on commit 04799cb

Please sign in to comment.