pub struct VerifyTableRows {
pub column_type: ColumnType,
}
Expand description
Crashes the VM is the table rows do not authenticate against the provided Merkle root First hashes the rows, then verifies that the digests belong in the Merkle tree.
Fields§
§column_type: ColumnType
Implementations§
Source§impl VerifyTableRows
impl VerifyTableRows
pub fn new(column_type: ColumnType) -> Self
Trait Implementations§
Source§impl BasicSnippet for VerifyTableRows
impl BasicSnippet for VerifyTableRows
fn inputs(&self) -> Vec<(DataType, String)>
fn outputs(&self) -> Vec<(DataType, String)>
fn entrypoint(&self) -> String
fn code(&self, library: &mut Library) -> Vec<LabelledInstruction>
fn annotated_code(&self, library: &mut Library) -> Vec<LabelledInstruction>
fn link_for_isolated_run(&self) -> Vec<LabelledInstruction>
Source§fn init_stack_for_isolated_run(&self) -> Vec<BFieldElement>
fn init_stack_for_isolated_run(&self) -> Vec<BFieldElement>
Intial stack on program start, when the snippet runs in isolation.
fn stack_diff(&self) -> isize
Source§impl Clone for VerifyTableRows
impl Clone for VerifyTableRows
Source§fn clone(&self) -> VerifyTableRows
fn clone(&self) -> VerifyTableRows
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VerifyTableRows
impl Debug for VerifyTableRows
impl Copy for VerifyTableRows
Auto Trait Implementations§
impl Freeze for VerifyTableRows
impl RefUnwindSafe for VerifyTableRows
impl Send for VerifyTableRows
impl Sync for VerifyTableRows
impl Unpin for VerifyTableRows
impl UnwindSafe for VerifyTableRows
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more