uzkge 0.1.2

App-specific PlonK with various gadgets & primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use ark_ff::Field;

use crate::plonk::constraint_system::turbo::N_WIRE_SELECTORS;

use super::N_SELECT_BITS;

/// The structure for the trace of shuffle remark.
#[derive(Default, Clone)]
pub struct RemarkTrace<F: Field> {
    /// The bits of the random scalar.
    pub bits: Vec<[F; N_WIRE_SELECTORS]>,
    /// The intermediate values for each computation.
    pub intermediate_values: Vec<[F; N_SELECT_BITS]>,
    /// The output.
    pub output: [F; N_SELECT_BITS],
    /// The round of computation.
    pub n_round: usize,
}