pub struct EVMProofPlan { /* private fields */ }
Expand description
An implementation of ProofPlan
that allows for EVM compatible serialization.
Serialization should be done using bincode with fixint, big-endian encoding in order to be compatible with EVM.
This is simply a wrapper around a DynProofPlan
.
Implementations§
Source§impl EVMProofPlan
impl EVMProofPlan
Sourcepub fn new(plan: DynProofPlan) -> Self
pub fn new(plan: DynProofPlan) -> Self
Create a new EVMProofPlan
from a DynProofPlan
.
Sourcepub fn into_inner(self) -> DynProofPlan
pub fn into_inner(self) -> DynProofPlan
Get the inner DynProofPlan
.
Sourcepub fn inner(&self) -> &DynProofPlan
pub fn inner(&self) -> &DynProofPlan
Get a reference to the inner DynProofPlan
.
Trait Implementations§
Source§impl Debug for EVMProofPlan
impl Debug for EVMProofPlan
Source§impl ProofPlan for EVMProofPlan
impl ProofPlan for EVMProofPlan
Source§fn verifier_evaluate<S: Scalar>(
&self,
builder: &mut impl VerificationBuilder<S>,
accessor: &IndexMap<ColumnRef, S, BuildHasherDefault<AHasher>>,
result: Option<&OwnedTable<S>>,
chi_eval_map: &IndexMap<TableRef, S, BuildHasherDefault<AHasher>>,
) -> Result<TableEvaluation<S>, ProofError>
fn verifier_evaluate<S: Scalar>( &self, builder: &mut impl VerificationBuilder<S>, accessor: &IndexMap<ColumnRef, S, BuildHasherDefault<AHasher>>, result: Option<&OwnedTable<S>>, chi_eval_map: &IndexMap<TableRef, S, BuildHasherDefault<AHasher>>, ) -> Result<TableEvaluation<S>, ProofError>
Form components needed to verify and proof store into
VerificationBuilder
Source§fn get_column_result_fields(&self) -> Vec<ColumnField>
fn get_column_result_fields(&self) -> Vec<ColumnField>
Return all the result column fields
Source§fn get_column_references(
&self,
) -> IndexSet<ColumnRef, BuildHasherDefault<AHasher>>
fn get_column_references( &self, ) -> IndexSet<ColumnRef, BuildHasherDefault<AHasher>>
Return all the columns referenced in the Query
Source§fn get_table_references(
&self,
) -> IndexSet<TableRef, BuildHasherDefault<AHasher>>
fn get_table_references( &self, ) -> IndexSet<TableRef, BuildHasherDefault<AHasher>>
Return all the tables referenced in the Query
Auto Trait Implementations§
impl Freeze for EVMProofPlan
impl RefUnwindSafe for EVMProofPlan
impl Send for EVMProofPlan
impl Sync for EVMProofPlan
impl Unpin for EVMProofPlan
impl UnwindSafe for EVMProofPlan
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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