mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 22:33:06 +00:00
* Duplicate Memory trace into BytePacking one * Add mload_32bytes instruction * Use dedicated ops for byte packing trace * Change witness generation to reduce memory reads for MLOAD_32BYTES * Remove segments * Fix stack * Fix extra product when fixing CTL for byte_packing * Write output value in trace * Add constraints for BYTE_PACKING table * Add recursive constraints for BYTE_PACKING table * Fix constraints * Add address in trace and constraints * Add timestamp and batch inputs into BytePackingOp struct * Add extra column * Fix BytePackingStark CTL * Tiny fix in witness generation * Fix the Memory CTL * Add constraints for the new columns * Remove 1 column * Remove limb columns * Fix * Fix recursive circuit of BytePackingTable * Fix constraints * Fix endianness * Add MSTORE_32BYTES instruction and move decomposition to packing table * Add missing constraint * Add range-check for all bytes * Add extra constraint * Cleanup * Remove REMAINING_LEN column * Add corresponding implementations in interpreter * Fix recursive version * Remove debug assertion because of CI * Remove FILTER column * Update new test from rebasing * Reorder STARK modules to match TraceCheckPoint ordering * Address comments * Pacify clippy * Add documentation to the packing module * Fix doctest
48 lines
1.1 KiB
Rust
48 lines
1.1 KiB
Rust
#![allow(incomplete_features)]
|
|
#![allow(clippy::needless_range_loop)]
|
|
#![allow(clippy::too_many_arguments)]
|
|
#![allow(clippy::type_complexity)]
|
|
#![allow(clippy::field_reassign_with_default)]
|
|
#![feature(let_chains)]
|
|
#![feature(generic_const_exprs)]
|
|
|
|
pub mod all_stark;
|
|
pub mod arithmetic;
|
|
pub mod byte_packing;
|
|
pub mod config;
|
|
pub mod constraint_consumer;
|
|
pub mod cpu;
|
|
pub mod cross_table_lookup;
|
|
pub mod curve_pairings;
|
|
pub mod extension_tower;
|
|
pub mod fixed_recursive_verifier;
|
|
pub mod generation;
|
|
mod get_challenges;
|
|
pub mod keccak;
|
|
pub mod keccak_sponge;
|
|
pub mod logic;
|
|
pub mod lookup;
|
|
pub mod memory;
|
|
pub mod permutation;
|
|
pub mod proof;
|
|
pub mod prover;
|
|
pub mod recursive_verifier;
|
|
pub mod stark;
|
|
pub mod stark_testing;
|
|
pub mod util;
|
|
pub mod vanishing_poly;
|
|
pub mod vars;
|
|
pub mod verifier;
|
|
pub mod witness;
|
|
|
|
use eth_trie_utils::partial_trie::HashedPartialTrie;
|
|
// Set up Jemalloc
|
|
#[cfg(not(target_env = "msvc"))]
|
|
use jemallocator::Jemalloc;
|
|
|
|
#[cfg(not(target_env = "msvc"))]
|
|
#[global_allocator]
|
|
static GLOBAL: Jemalloc = Jemalloc;
|
|
|
|
pub type Node = eth_trie_utils::partial_trie::Node<HashedPartialTrie>;
|