plonky2/system_zero/src/public_input_layout.rs
Daniel Lubarov c0ac79e2e1
Beginning of STARK implementation (#413)
* Beginning of STARK implementation

* PR feedback

* minor

* Suppress warnings for now
2022-01-26 00:09:29 -08:00

8 lines
299 B
Rust

/// The previous state root, before these transactions were executed.
const PI_OLD_STATE_ROOT: usize = 0;
/// The updated state root, after these transactions were executed.
const PI_NEW_STATE_ROOT: usize = PI_OLD_STATE_ROOT + 1;
pub(crate) const NUM_PUBLIC_INPUTS: usize = PI_NEW_STATE_ROOT + 1;