Skip to content

feat(std): add keccak Merkle proof verification - #1644

Merged
sbillig merged 1 commit into
masterfrom
feat/std-merkle-proof
Sep 29, 2026
Merged

sbillig merged 1 commit into
masterfrom
feat/std-merkle-proof

Conversation

@cburgdorf

Copy link
Copy Markdown
Collaborator

Add std::evm::merkle with OpenZeppelin MerkleProof parity for sorted-pair trees (hash_pair_sorted, process_proof, verify) and positional proofs where bit i of the leaf index selects the side at level i (process_indexed_proof, verify_indexed), matching Seaport bulk order proofs. Proofs are read in place through the ProofNodes trait from MemSlice, DynArray and DynArray, hashing through one reused 64-byte buffer per call.

Add std::evm::merkle with OpenZeppelin MerkleProof parity for sorted-pair
trees (hash_pair_sorted, process_proof, verify) and positional proofs
where bit i of the leaf index selects the side at level i
(process_indexed_proof, verify_indexed), matching Seaport bulk order
proofs. Proofs are read in place through the ProofNodes trait from
MemSlice<u256>, DynArray<u256> and DynArray<Bytes32>, hashing through one
reused 64-byte buffer per call.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T21:24:43.965868Z 6738964 PR opened
🔒 Security Review ✅ Completed 2026-09-29T21:25:41.596223Z 6738964 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cburgdorf
cburgdorf requested a review from sbillig September 29, 2026 22:00
@sbillig
sbillig merged commit ce2eb6f into master Sep 29, 2026
9 checks passed
@sbillig
sbillig deleted the feat/std-merkle-proof branch September 29, 2026 22:20
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.

2 participants