mirror of
https://github.com/logos-storage/proof-aggregation.git
synced 2026-01-02 13:53:13 +00:00
1.1 KiB
Executable File
1.1 KiB
Executable File
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_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.
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>