fix: wait for LEP-6 proof rows before report - #327
Merged
mateeullahmalik merged 1 commit intoSep 17, 2026
Merged
Conversation
j-rafique
force-pushed
the
fix/storage-challenge-report-sequencing-testnet
branch
from
September 16, 2026 14:09
27015ff to
6dbd50e
Compare
mateeullahmalik
approved these changes
Sep 17, 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.
Summary
host_reportersubmits an epoch report with assigned targets but zero LEP-6 proof rows.CountResults(epochID)to the LEP-6 result buffer sohost_reportercan check for pending rows without draining them.Why
Testnet storage challenge reports were being submitted at epoch start before LEP-6 dispatch could finish compound proof work.
Late proof rows could then be discarded because the epoch report had already been accepted and the retry hit duplicate-report handling.
This keeps host-report liveness by using a bounded wait window, then still submitting empty proof rows after the window expires.
Validation
go test ./supernode/host_reporter ./supernode/storage_challenge ./pkg/metrics/lep6 ./supernode/status -count=1— PASSgo test ./... -count=1— PASSgit diff --check— PASS before commitRollout notes
storage_proof_resultsrows land on-chain when eligible tickets are hit.storage_challenge.lep6.enabled=trueacross the fleet in batches.Follow-up
DispatchInternalFailuresTotalandDispatchSignFailuresTotalin status for better operator visibility.