Skip to content

downloader: torrent_hashes --diff flag#20570

Merged
AskAlexSharov merged 16 commits intomainfrom
alex/downloader-torrent-hashes-diff
Apr 16, 2026
Merged

downloader: torrent_hashes --diff flag#20570
AskAlexSharov merged 16 commits intomainfrom
alex/downloader-torrent-hashes-diff

Conversation

@AskAlexSharov
Copy link
Copy Markdown
Collaborator

@AskAlexSharov AskAlexSharov commented Apr 15, 2026

Adds --diff to downloader torrent_hashes to compare locally computed torrent hashes against the currently released .toml from the erigon-snapshot GitHub repo.

Output is one line per entry for easy grepping:

released branch: release/3.4  url: https://...
released: 1234 entries, local: 1240 entries, changed: 2, added: 6, removed: 0
CHANGED v1.0-100-101-bodies.seg released=aaa111... local=bbb222...
ADDED   v1.0-500-501-blocks.seg ghi789...
REMOVED v1.0-old-file.seg jkl012...

Also:

  • exports snapcfg.FetchChainToml (was unexported) to avoid duplicating HTTP fetch boilerplate
  • tidies cmd/downloader/readme.md (outdated Erigon2/3 references, typos, duplicate sections)

Usage:

downloader torrent_hashes --datadir=<your_datadir> --chain=<chain> --diff

@AskAlexSharov AskAlexSharov force-pushed the alex/downloader-torrent-hashes-diff branch from 5711a80 to 5ad3440 Compare April 15, 2026 05:12
@AskAlexSharov AskAlexSharov requested a review from JkLondon April 15, 2026 05:14
@AskAlexSharov AskAlexSharov added this pull request to the merge queue Apr 16, 2026
Commit 835dd9b in ethpandaops/ethereum-package introduced GpuConfig,
a Starlark built-in that requires Kurtosis CLI >=1.18.1. CI installs
an older version so Starlark eval fails. Pin to e07503d (the commit
just before the regression) until CI is upgraded to Kurtosis 1.18.1.
Commit 835dd9b on main introduced GpuConfig, a Starlark built-in that
requires Kurtosis CLI >=1.18.1. CI installs an older version so Starlark
eval fails at startup. Pin to the 6.1.0 release tag which has GLOAS
support but not the breaking GpuConfig. Unpin once CI is on 1.18.1.
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 16, 2026
@AskAlexSharov AskAlexSharov added this pull request to the merge queue Apr 16, 2026
Merged via the queue into main with commit 1448e03 Apr 16, 2026
36 checks passed
@AskAlexSharov AskAlexSharov deleted the alex/downloader-torrent-hashes-diff branch April 16, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants