2025-07-08 13:37:58 +02:00
..
2025-07-08 13:37:58 +02:00
2025-07-08 11:41:52 +02:00
2025-06-17 12:32:13 +02:00
2025-07-08 11:04:41 +02:00
2025-07-03 13:43:50 +02:00

Input Generator for the Plonky2 Circuit

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.

Code organization

  • merkle_tree is the implementation of "safe" merkle tree used in codex, consistent with the one here.

  • input_generator contains the necessary function to generate the proof input.

  • params is the test parameters used to generate the input.

  • hash contains the non-circuit version of hash (with and without padding) used to hash cells and during sampling.

Tests

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>