#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

#7 in #merkle-proof

Download history 7020/week @ 2024-10-11 6578/week @ 2024-10-18 7781/week @ 2024-10-25 7356/week @ 2024-11-01 6651/week @ 2024-11-08 7452/week @ 2024-11-15 6364/week @ 2024-11-22 11056/week @ 2024-11-29 12877/week @ 2024-12-06 10168/week @ 2024-12-13 4474/week @ 2024-12-20 3439/week @ 2024-12-27 8042/week @ 2025-01-03 7964/week @ 2025-01-10 9049/week @ 2025-01-17 9347/week @ 2025-01-24

35,255 downloads per month
Used in 151 crates (17 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