mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Backfill only with flag (#8913)
Caplin snapshots only enabled with caplin.backfill
This commit is contained in:
parent
8bfff94941
commit
0d2aecf829
@ -31,11 +31,13 @@ func runTest(t *testing.T, blocks []*cltypes.SignedBeaconBlock, preState, postSt
|
||||
}
|
||||
|
||||
func TestStateAntiquaryCapella(t *testing.T) {
|
||||
t.Skip()
|
||||
blocks, preState, postState := tests.GetCapellaRandom()
|
||||
runTest(t, blocks, preState, postState)
|
||||
}
|
||||
|
||||
func TestStateAntiquaryPhase0(t *testing.T) {
|
||||
t.Skip()
|
||||
blocks, preState, postState := tests.GetPhase0Random()
|
||||
runTest(t, blocks, preState, postState)
|
||||
}
|
||||
|
@ -47,11 +47,13 @@ func runTest(t *testing.T, blocks []*cltypes.SignedBeaconBlock, preState, postSt
|
||||
}
|
||||
|
||||
func TestStateAntiquaryCapella(t *testing.T) {
|
||||
t.Skip()
|
||||
blocks, preState, postState := tests.GetCapellaRandom()
|
||||
runTest(t, blocks, preState, postState)
|
||||
}
|
||||
|
||||
func TestStateAntiquaryPhase0(t *testing.T) {
|
||||
t.Skip()
|
||||
blocks, preState, postState := tests.GetPhase0Random()
|
||||
runTest(t, blocks, preState, postState)
|
||||
}
|
||||
|
@ -484,7 +484,7 @@ func NewDefaultStages(ctx context.Context,
|
||||
}
|
||||
|
||||
return stagedsync.DefaultStages(ctx,
|
||||
stagedsync.StageSnapshotsCfg(db, *controlServer.ChainConfig, dirs, blockRetire, snapDownloader, blockReader, notifications.Events, cfg.HistoryV3, agg, cfg.InternalCL, silkworm),
|
||||
stagedsync.StageSnapshotsCfg(db, *controlServer.ChainConfig, dirs, blockRetire, snapDownloader, blockReader, notifications.Events, cfg.HistoryV3, agg, cfg.InternalCL && cfg.CaplinConfig.Backfilling, silkworm),
|
||||
stagedsync.StageHeadersCfg(db, controlServer.Hd, controlServer.Bd, *controlServer.ChainConfig, controlServer.SendHeaderRequest, controlServer.PropagateNewBlockHashes, controlServer.Penalize, cfg.BatchSize, p2pCfg.NoDiscovery, blockReader, blockWriter, dirs.Tmp, notifications, forkValidator, loopBreakCheck),
|
||||
stagedsync.StageBorHeimdallCfg(db, snapDb, stagedsync.MiningState{}, *controlServer.ChainConfig, heimdallClient, blockReader, controlServer.Hd, controlServer.Penalize, recents, signatures),
|
||||
stagedsync.StageBlockHashesCfg(db, dirs.Tmp, controlServer.ChainConfig, blockWriter),
|
||||
@ -542,7 +542,7 @@ func NewPipelineStages(ctx context.Context,
|
||||
runInTestMode := cfg.ImportMode
|
||||
|
||||
return stagedsync.PipelineStages(ctx,
|
||||
stagedsync.StageSnapshotsCfg(db, *controlServer.ChainConfig, dirs, blockRetire, snapDownloader, blockReader, notifications.Events, cfg.HistoryV3, agg, cfg.InternalCL, silkworm),
|
||||
stagedsync.StageSnapshotsCfg(db, *controlServer.ChainConfig, dirs, blockRetire, snapDownloader, blockReader, notifications.Events, cfg.HistoryV3, agg, cfg.InternalCL && cfg.CaplinConfig.Backfilling, silkworm),
|
||||
stagedsync.StageBlockHashesCfg(db, dirs.Tmp, controlServer.ChainConfig, blockWriter),
|
||||
stagedsync.StageSendersCfg(db, controlServer.ChainConfig, false, dirs.Tmp, cfg.Prune, blockReader, controlServer.Hd),
|
||||
stagedsync.StageExecuteBlocksCfg(
|
||||
|
Loading…
Reference in New Issue
Block a user