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 59aa6f84c25c301a94d3a5b5920fae10b5f4a144
5 changes: 5 additions & 0 deletions cmd/snapshots/cmp/cmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,11 @@ func (c comparitor) compareBodies(ctx context.Context, f1ents []*BodyEntry, f2en
var indexTime uint64
var compareTime uint64

freezeCfg := ethconfig.Defaults.Snapshot
freezeCfg.NoDownloader = true
freezeCfg.ProduceE2 = false
freezeCfg.ChainName = c.chain

g, ctx := errgroup.WithContext(ctx)
g.SetLimit(workers)

Expand Down