fix(pepper-sync): retain ZIP 318 anchor checkpoints - #2750
Open
dorianvp wants to merge 11 commits into
Open
Conversation
Oscar-Pepper
requested changes
Aug 28, 2026
Oscar-Pepper
left a comment
Contributor
There was a problem hiding this comment.
we also need to check spend migrations only use boundary anchors as only these are retained. im not sure what happens in the chain tip i.e. top 100 blocks etc.
…timeout The test proves more Orchard spends than fit one split transaction and has always run near nextest's default 600-second ceiling. The suite speedups merged in #2741 reshuffled the schedule so it now overlaps the other long-chain heavies: the last green dev run passed it at 571.8 seconds, and every CI run since 2026-08-26 kills it at 600. Listing it in the existing long-chain heavies override raises its limit to 1200 seconds in both profiles, beside its sibling drain_chunks_a_fragmented_wallet. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
dorianvp
commented
Aug 29, 2026
…kpoints for shardtree pruning
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.
Sends of exactly 1, 2, 5 × 10^n ZEC failed with
AnchorNotFound: the canonical-crossing path anchors to a ZIP 318 grid boundary 147–290 blocks behind the tip, but pepper-sync retained only the newest 100 checkpoints, and theanchor_computableguard only checked scan completeness, so the doomed attempt was not rejected until after proposal acceptance.anchor_is_computablenow also requires a checkpoint at the anchor height, so a canonical attempt at a pruned boundary degrades to the ordinary send path.ANCHOR_AGE_CAP + 2intervals from the Ironwood activation), re-derive the pins at sync start, exempt pinned checkpoints from the newest-100 serialization cap, and iterate the full checkpoint count when truncating to the next checkpoint.Wallets with already-pruned boundaries send via the ordinary path immediately; canonical crossings resume once sync passes the next grid boundary.
🤖 Generated with Claude Code