Add server-side SMT inclusion proof generation#20
Merged
Conversation
Allow clients to omit `smt_blob_data` and `smt_proof` from transfer requests. When absent, the server computes nullifiers from `input_notes` + `notes_root` and generates the SMT inclusion proof using the Barretenberg prover. This simplifies the client integration by moving proof generation server-side while keeping the existing client-provided proof path fully supported. Also fixes generate_fixtures.sh (duplicate compile, proper bash array expansion) and updates regenerated fixtures/keys. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
smt_blob_dataandsmt_proofoptional in the transfer API (CreateBlobRequestandFinalizeTransferRequest)input_notes+notes_rootand generates the SMT inclusion proof via Barretenberg provergenerate_fixtures.sh: remove duplicate compile step, use proper bash array expansion fororacle_hash_argsHYLI_UTXO_PUBLIC_INPUTS_COUNT(732 → 713) and regenerate fixture keys/programs🤖 Generated with Claude Code