Skip to content

feat: Add proof to GetBlockByNumber#1864

Open
sergerad wants to merge 5 commits intonextfrom
sergerad-get-proof
Open

feat: Add proof to GetBlockByNumber#1864
sergerad wants to merge 5 commits intonextfrom
sergerad-get-proof

Conversation

@sergerad
Copy link
Copy Markdown
Collaborator

@sergerad sergerad commented Mar 30, 2026

GetBlockByNumber: support optional block proof in response

Closes #1863 and #1839

Updates the GetBlockByNumber gRPC endpoint to accept a GetBlockByNumberRequest (with optional include_proof flag) and return a GetBlockByNumberResponse containing the block and an optional block proof.

Adds load_proof to the store's BlockStore and State to read proof files from disk when requested.

@sergerad sergerad requested review from bobbinth and igamigo March 30, 2026 23:19
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add block proof to GetBlockByNumber endpoint

2 participants