Repository navigation
ci: mainnet join of the three packages from a p2p snapshot - #182
Merged
Merged
Conversation
Linux, Windows and macOS packages each start on mainnet with an empty database and fetch their snapshot over p2p from one named source (min_sources=1, fetch_fallback=wait), import and verify it, sync to the head, follow the chain and must log the same state digests. Unlike platform-sync, which restores the published snapshot with --download-snapshot, this covers the p2p fetch on every system. From ci/mainnet-join, taking the latest published release instead of a fixed one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/CHANGES.md
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.
Adds
.github/workflows/mainnet-join.yml(from the branchci/mainnet-join). The Linux, Windows and macOS packages each start on mainnet with an empty database, fetch their snapshot over p2p from one named source ([snapshot] sources=,min_sources=1,fetch_fallback=wait), import and verify it, sync to the head, follow the chain for 20 minutes, and must log the same state digests and block hashes.platform-sync.ymlrestores the published snapshot with--download-snapshot; this covers the p2p fetch path on all three systems.Re-checked against master: the config keys, the
SNAPSHOT:log lines,snapshot.sources.json/snapshot.verified,check_node.py wait-headarguments,config.pruned.iniand the package names all match. One change from the branch: it took a fixed release (community.14); it now takes the latest published release, or ataginput of a manual run. Run by pushing amainnet-join-*tag, or manually. The source node (SOURCE_KEY/SOURCE_ADDRin the file) must be serving snapshots; I have not run the workflow.🤖 Generated with Claude Code