feat(storage_challenge): add LEP-6 compound storage challenge runtime#288
Merged
j-rafique merged 1 commit intosupernode/LEP-6-chain-client-extensionsfrom May 4, 2026
Conversation
2d8c60c to
f79f88f
Compare
0dc9475 to
af43dd8
Compare
f79f88f to
820625c
Compare
Re-reviewed at 5a99549. All four issues from previous reviews are now fixed. No new issues found.
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
820625c to
8a80fc4
Compare
Implements the PR3 compound storage challenge runtime on top of the latest LEP-6 PR1 foundation branch after PR2 was merged into it. Highlights: - Add compound proof request/response fields and regenerated supernode proto bindings. - Add recipient-side GetCompoundProof handler with signed responses and range validation. - Add challenger-side LEP6Dispatcher for assigned-target dispatch across RECENT/OLD buckets. - Add result buffer implementing host_reporter ProofResultProvider with deterministic chain-cap throttling. - Add deterministic cascade metadata resolution helpers for artifact count, key, and exact artifact size. - Add production ChainTicketProvider backed by final Lumera x/action ListActionsBySuperNode query. - Wire startup to use ChainTicketProvider and cascade metadata/action size resolution instead of NoTicketProvider. - Classify target RPC timeout/no-response as TIMEOUT_OR_NO_RESPONSE and malformed transcripts as INVALID_TRANSCRIPT. - Extend action module bindings/mocks with ListActionsBySuperNode. - Preserve PR1 provider concurrency hardening and PR2 deterministic roocode fixes after rebase. Lumera dependency/source: - github.com/LumeraProtocol/lumera v1.12.0 - chain source: lumera/master 451f8a8e7ff30b3370cba59fab8e6228473a348b Validation: - git diff --check origin/supernode/LEP-6-chain-client-extensions..HEAD: pass - go test ./pkg/storagechallenge/... ./supernode/storage_challenge ./supernode/transport/grpc/storage_challenge ./supernode/host_reporter ./pkg/lumera/modules/action ./pkg/lumera/modules/audit ./pkg/lumera/modules/audit_msg -count=1 -v: pass - go vet ./pkg/storagechallenge/... ./supernode/storage_challenge ./supernode/transport/grpc/storage_challenge ./supernode/host_reporter ./pkg/lumera/modules/action ./pkg/lumera/modules/audit ./pkg/lumera/modules/audit_msg: pass - go test ./... -count=1: pass Plan: docs/plans/LEP6_SUPERNODE_IMPLEMENTATION_PLAN_v3_MASTER.md PR3
8a80fc4 to
5a99549
Compare
62696db
into
supernode/LEP-6-chain-client-extensions
6 checks passed
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.
Implements the PR3 compound storage challenge runtime on top of the updated LEP-6 PR1/PR2 foundation.
Highlights:
Lumera dependency/source:
Validation:
Plan: docs/plans/LEP6_SUPERNODE_IMPLEMENTATION_PLAN_v3_MASTER.md PR3