db/snapcfg: vendor erigon-snapshot/webseed inline#21089
Merged
Conversation
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).
Member
Author
|
part of #21047 |
AskAlexSharov
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.