Skip to content

db/snapcfg: vendor erigon-snapshot/webseed inline#21089

Merged
wmitsuda merged 1 commit intomainfrom
wmitsuda/vendor-webseed
May 11, 2026
Merged

db/snapcfg: vendor erigon-snapshot/webseed inline#21089
wmitsuda merged 1 commit intomainfrom
wmitsuda/vendor-webseed

Conversation

@wmitsuda
Copy link
Copy Markdown
Member

The erigon binary is the only place that uses erigon-snapshot/webseed, hence updating webseeds require updating the erigon-snapshot repo and updating the go.mod on the erigon side.

This PR internalizes those settings simplifying the process of updating it.

This is one more small step towards removing the dependency of erigon to erigon-snapshot module.

note: E35 still depends on erigon-snapshot/release/3.4, don't remove the webseed stuff there. once this PR gets merged we can remove the webseed stuff on erigon-snapshot on main branch only.

The webseed package is being deprecated upstream. Inline the per-chain
URLs as a `map[string][]string` and drop the TOML byte/parse round-trip;
all consumers wanted the URL list anyway.

Renames `EmbeddedWebseedsRaw` to `EmbeddedWebseeds` (the lone caller in
`db/downloader/webseeds/verify.go` only iterates the keys).
@wmitsuda
Copy link
Copy Markdown
Member Author

part of #21047

@wmitsuda wmitsuda enabled auto-merge May 10, 2026 17:33
@wmitsuda wmitsuda added this pull request to the merge queue May 11, 2026
Merged via the queue into main with commit caadb5b May 11, 2026
38 checks passed
@wmitsuda wmitsuda deleted the wmitsuda/vendor-webseed branch May 11, 2026 03:55
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