#merkle-proof #spec #file #step #path #binary #generate

no-std ics23

Merkle proof verification library - implements Cosmos ICS23 Spec

20 releases

0.12.0 Jul 17, 2024
0.11.1 Jan 30, 2024
0.11.0 Oct 4, 2023
0.10.1 Apr 27, 2023
0.5.0 Aug 27, 2019

#1339 in Magic Beans

Download history 6586/week @ 2024-04-03 5605/week @ 2024-04-10 6199/week @ 2024-04-17 6723/week @ 2024-04-24 4769/week @ 2024-05-01 5564/week @ 2024-05-08 4915/week @ 2024-05-15 4367/week @ 2024-05-22 5738/week @ 2024-05-29 5556/week @ 2024-06-05 5530/week @ 2024-06-12 5506/week @ 2024-06-19 5404/week @ 2024-06-26 4692/week @ 2024-07-03 6973/week @ 2024-07-10 4974/week @ 2024-07-17

23,321 downloads per month
Used in 94 crates (10 directly)

Apache-2.0

175KB
4K SLoC

Rust Proof Validation

Codegen

To avoid direct dependencies on protoc in the build system, I have separated codegen into a sub-crate. This will generate the rust proofs.rs file from the proofs.proto file. The rest of the main build/test cycle is now independent of the protoc binary.

To rebuild protobuf, simply: cargo protoc (on a dev machine with protoc in path). Unless you modify the protobuf file, you can ignore this step.

Formatting

cargo fmt

Testing

cargo test

Linting

cargo clippy -- --test -W clippy::pedantic

Code Coverage

cargo llvm-cov

MSRV

The minimum supported Rust version (MSRV) is 1.60.

Dependencies

~0.3–1.3MB
~23K SLoC