#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

#1298 in Magic Beans

Download history 16003/week @ 2024-01-29 6478/week @ 2024-02-05 6534/week @ 2024-02-12 5098/week @ 2024-02-19 4817/week @ 2024-02-26 6355/week @ 2024-03-04 6390/week @ 2024-03-11 6583/week @ 2024-03-18 5655/week @ 2024-03-25 6124/week @ 2024-04-01 5846/week @ 2024-04-08 5826/week @ 2024-04-15 6399/week @ 2024-04-22 5470/week @ 2024-04-29 5543/week @ 2024-05-06 4918/week @ 2024-05-13

22,496 downloads per month
Used in 78 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