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

no-std ics23

Merkle proof verification library - implements Cosmos ICS23 Spec

18 releases

0.11.1 Jan 30, 2024
0.11.0 Oct 4, 2023
0.10.3 Oct 3, 2023
0.10.1 Apr 27, 2023
0.5.0 Aug 27, 2019

#1281 in Magic Beans

Download history 4675/week @ 2023-12-17 2136/week @ 2023-12-24 3247/week @ 2023-12-31 4923/week @ 2024-01-07 5548/week @ 2024-01-14 5075/week @ 2024-01-21 15907/week @ 2024-01-28 6507/week @ 2024-02-04 6525/week @ 2024-02-11 5180/week @ 2024-02-18 4691/week @ 2024-02-25 6246/week @ 2024-03-03 6603/week @ 2024-03-10 6658/week @ 2024-03-17 5495/week @ 2024-03-24 6454/week @ 2024-03-31

25,753 downloads per month
Used in 78 crates (9 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