Skip to content

re-visit stage_snapshots preverified logic: it must be white-list instead of black-list to be forward-compatible #15589

Description

@AskAlexSharov

if in future we will release new type of files - it must not be downloaded by old versions by default.
currently:

if !syncCfg.KeepExecutionProofs && isStateHistory(p.Name) && strings.Contains(p.Name, kv.CommitmentDomain.String()) {
	continue
}

cc @anacrolix

SubTasks

  • [] turn to white-list state files. Need to define format of white-list: 1. is it per-file-type or per-file 2. How it must interfere with --prune.mode=minimal were we blacklist old files (but not whole type)
  • [] turn to white-list block files
  • [] Sepolia archive Caplin: can't finish stage_snapshots #15942

reviewer: @anacrolix

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions