#chinilla #testing #cryptocurrency #wheel #python #cargo-workspace #chinillaclvm

yanked chinillaclvmr

Implementation of chinillaclvm for Chinilla Network’s cryptocurrency

0.2.0 Dec 10, 2022
0.1.24 Dec 10, 2022

#3 in #chinilla


Used in chinillaclvm_tools_rs

Apache-2.0

490KB
6K SLoC

Rust implementation of chinillaclvm.

The cargo workspace includes an rlib crate, for use with rust or other applications, and a python wheel.

The python wheel is in wheel. The npm package is in wasm.

TESTS

In order to run the unit tests, run:

cargo test

Fuzzing

The fuzzing infrastructure for chinillaclvm_rs uses cargo-fuzz.

Documentation for setting up fuzzing in rust can be found here.

To generate an initial corpus (for the run_program fuzzer), run:

cd fuzz
mkdir -p corpus/fuzz_run_program/
python gen_corpus.py

To get started, run:

cargo fuzz run fuzz_run_program --jobs=32 -- -rss_limit_mb=4096

But with whatever number of jobs works best for you.

If you find issues in chinillaclvm_rs please see the Bug Bounty program.

Dependencies

~1.6–2.7MB
~58K SLoC