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

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

#6 in #merkle-proof

Download history 5707/week @ 2024-07-22 5936/week @ 2024-07-29 5206/week @ 2024-08-05 5603/week @ 2024-08-12 5672/week @ 2024-08-19 5716/week @ 2024-08-26 8052/week @ 2024-09-02 7669/week @ 2024-09-09 7193/week @ 2024-09-16 7441/week @ 2024-09-23 7192/week @ 2024-09-30 9213/week @ 2024-10-07 6833/week @ 2024-10-14 7385/week @ 2024-10-21 7276/week @ 2024-10-28 7407/week @ 2024-11-04

29,094 downloads per month
Used in 114 crates (12 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.4–1.3MB
~24K SLoC