This review is from Crev, a distributed system for code reviews. To add your review, set up cargo-crev.

The current version of cw-storage is 0.2.2.

0.1.0 (older version) Rating: Strong Positive Thoroughness: Medium Understanding: Medium

by clevinson on 2020-01-14

Clear code. Easy to read and understand its usage, with help from solid in-line documentation. Good test coverage, illustrating example use cases of all functionality. This library takes care of a lot of storage related boilerplate for CosmWasm contracts, and using it will likely reduce potential for error in your own smart contract code.


Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.

Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.

To review the actual code of the crate, it's best to use cargo crev open cw-storage. Alternatively, you can download the tarball of cw-storage v0.2.2 or view the source online.