pub struct PassthroughVM {
pub max_steps: u64,
}Expand description
PassthroughVM: a stub implementation that passes inputs through as outputs.
This is used for testing the proof pipeline without a full VM. It validates that total input value >= total output value for each type ID (conservation of supply).
Fields§
§max_steps: u64Maximum execution steps before loop detection triggers
Implementations§
Trait Implementations§
Source§impl Default for PassthroughVM
impl Default for PassthroughVM
Auto Trait Implementations§
impl Freeze for PassthroughVM
impl RefUnwindSafe for PassthroughVM
impl Send for PassthroughVM
impl Sync for PassthroughVM
impl Unpin for PassthroughVM
impl UnsafeUnpin for PassthroughVM
impl UnwindSafe for PassthroughVM
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