Skip to content

crypto crate re-org and merkle verification with index - #301

Merged
brozorec merged 7 commits into
mainfrom
crypto-crate
Jun 27, 2025
Merged

crypto crate re-org and merkle verification with index#301
brozorec merged 7 commits into
mainfrom
crypto-crate

Conversation

@brozorec

@brozorec brozorec commented Jun 27, 2025

Copy link
Copy Markdown
Collaborator

Fixes #278
Fixes #270

  • Re-org the crypto crate by placing all tests in a separate mod
  • Add a new function to merkle Verifier that allows proof verification of trees with unsorted leaves
  • Added error.rs and handle properly empty hasher error

PR Checklist

  • Tests
  • Documentation

@brozorec brozorec self-assigned this Jun 27, 2025
@netlify

netlify Bot commented Jun 27, 2025

Copy link
Copy Markdown

Deploy Preview for delightful-dieffenbachia-2097e0 canceled.

Name Link
🔨 Latest commit 59d3817
🔍 Latest deploy log https://app.netlify.com/projects/delightful-dieffenbachia-2097e0/deploys/685eff2ef658980008b0247a

@brozorec
brozorec requested a review from ozgunozerk June 27, 2025 07:57
@codecov

codecov Bot commented Jun 27, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.71%. Comparing base (11943b0) to head (59d3817).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #301      +/-   ##
==========================================
- Coverage   97.73%   97.71%   -0.03%     
==========================================
  Files          62       66       +4     
  Lines        5396     5332      -64     
==========================================
- Hits         5274     5210      -64     
  Misses        122      122              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

brozorec added 2 commits June 27, 2025 22:25
* warnings for unsafe functions

* rename node to leaf

* allow re-setting root

* fix examples

* distributor with verify_with_index

* typos
@brozorec
brozorec merged commit 6782ab5 into main Jun 27, 2025
6 checks passed
@brozorec
brozorec deleted the crypto-crate branch June 27, 2025 20:29
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.

[N-01] Inconsistent Folder Structure [L-08] Merkle Tree Verification Can Be More General

2 participants