Expand description
Utility functions and test utils
Functionsยง
- air_
test - air_
test_ impl - Executes and proves the VM and returns the final memory state.
If
debug
is true, runs the debug prover. - air_
test_ with_ min_ segments - Executes and proves the VM and returns the final memory state.
- execute_
and_ prove_ program - Executes program and runs simple STARK prover test (keygen, prove, verify).
- gen_
vm_ program_ test_ proof_ input - Generates the VM STARK circuit, in the form of AIRs and traces, but does not do any proving. Output is the payload of everything the prover needs.
- generate_
long_ number - i32_
to_ f - next_
power_ of_ two_ or_ zero - Return either 0 if n is zero or the next power of two of n. Used to resize the number of rows in a trace matrix.
- u32_
into_ limbs - u32_
sign_ extend