Module utils

Module utils 

Source
Expand description

Utility functions and test utils

Re-exports§

pub use test_utils::*;

Modules§

test_utils

Structs§

TestStarkEngine

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.
cpu_proving_ctx_to_gpu
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.
slice_as_bytes
Safety
transmute_field_to_u32
transmute_u32_to_field

Type Aliases§

TestRecordArena