Re-exports§
pub use canary_circuit::*;
pub use circuit::*;
pub use environment::*;
pub use helpers::*;
pub use macros::*;
pub use testnet_circuit::*;
pub use traits::*;
Modules§
Macros§
- assert_
count - Asserts the count for a given operation and case, and ensure the circuit is satisfied.
- assert_
count_ fails - Asserts the count for a given operation and case, and ensure the circuit is NOT satisfied.
- assert_
output_ mode - Asserts the output mode for a given operation and case.
- assert_
scope - assert_
scope_ fails - count
- count_
is - To update the arguments to
count_is!
, run cargo test with theUPDATE_COUNT
flag set to the name of the file containing the macro invocation. e.g. `UPDATE_COUNT=boolean cargo test See https://github.com/ProvableHQ/snarkVM/pull/1688 for more details. - count_
less_ than - To update the arguments to
count_less_than!
, run cargo test with theUPDATE_COUNT
flag set to the name of the file containing the macro invocation. e.g. `UPDATE_COUNT=boolean cargo test See https://github.com/ProvableHQ/snarkVM/pull/1688 for more details. - output_
mode - print_
scope - rename_
selfs - scope
- witness
- The
witness!
macro is a closure that takes in a list of circuits, eject the value of each circuit, and uses it in the subsequent code block. - witness_
mode - The
witness_mode!
macro returns the expected mode given a list of circuits.