Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty ChainName in snapshots #13018

Merged
merged 24 commits into from
Dec 6, 2024
Prev Previous commit
Next Next commit
save
  • Loading branch information
AskAlexSharov committed Dec 6, 2024
commit d559abc93650f006165cc6ac03147b1614242331
4 changes: 3 additions & 1 deletion cmd/caplin/caplin1/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ func RunCaplinService(ctx context.Context, engine execution_client.ExecutionEngi
logger := log.New("app", "caplin")

config.NetworkId = clparams.CustomNetwork // Force custom network
csn := freezeblocks.NewCaplinSnapshots(ethconfig.BlocksFreezing{}, beaconConfig, dirs, logger)
freezeCfg := ethconfig.Defaults.Snapshot
freezeCfg.ChainName = beaconConfig.ConfigName
csn := freezeblocks.NewCaplinSnapshots(freezeCfg, beaconConfig, dirs, logger)
rcsn := freezeblocks.NewBeaconSnapshotReader(csn, eth1Getter, beaconConfig)

pool := pool.NewOperationsPool(beaconConfig)
Expand Down