This crate generates input to the proof circuit based on the test parameters. The proof input generated can be ported into
the plonky2 codex proof circuits. Currently only generates fake data for testing.
-
merkle_treeis the implementation of "safe" merkle tree used in codex, consistent with the one here. -
input_generatorcontains the necessary function to generate the proof input. -
paramsis the test parameters used to generate the input. -
hashcontains the non-circuit version of hash (with and without padding) used to hash cells and during sampling.
See tests for all tests.
To run a specific test, use:
cargo test --features parallel --test <test_file_name>Or for more specific tests, use:
cargo test --features parallel --test <test_file_name> -- <test_name>