pub struct BootloaderDebugTracer {
pub result: Arc<OnceCell<Result<BootloaderDebug, String>>>,
}
Expand description
The role of this tracer is to read the memory slots directly from bootloader memory at the end of VM execution - and put them into BootloaderDebug object.
Fields§
§result: Arc<OnceCell<Result<BootloaderDebug, String>>>
Trait Implementations§
source§impl<S, H: HistoryMode> DynTracer<S, H> for BootloaderDebugTracer
impl<S, H: HistoryMode> DynTracer<S, H> for BootloaderDebugTracer
fn before_decoding( &mut self, _state: VmLocalStateData<'_, 8, EncodingModeProduction>, _memory: &SimpleMemory<H> )
fn after_decoding( &mut self, _state: VmLocalStateData<'_, 8, EncodingModeProduction>, _data: AfterDecodingData<8, EncodingModeProduction>, _memory: &SimpleMemory<H> )
fn before_execution( &mut self, _state: VmLocalStateData<'_, 8, EncodingModeProduction>, _data: BeforeExecutionData<8, EncodingModeProduction>, _memory: &SimpleMemory<H>, _storage: Rc<RefCell<S>> )
fn after_execution( &mut self, _state: VmLocalStateData<'_, 8, EncodingModeProduction>, _data: AfterExecutionData<8, EncodingModeProduction>, _memory: &SimpleMemory<H>, _storage: Rc<RefCell<S>> )
source§impl<H: HistoryMode> ExecutionEndTracer<H> for BootloaderDebugTracer
impl<H: HistoryMode> ExecutionEndTracer<H> for BootloaderDebugTracer
fn should_stop_execution(&self) -> bool
source§impl<S: WriteStorage, H: HistoryMode> ExecutionProcessing<S, H> for BootloaderDebugTracer
impl<S: WriteStorage, H: HistoryMode> ExecutionProcessing<S, H> for BootloaderDebugTracer
fn after_vm_execution( &mut self, state: &mut ZkSyncVmState<S, H>, _bootloader_state: &BootloaderState, _stop_reason: VmExecutionStopReason )
fn initialize_tracer( &mut self, _state: &mut VmState<StorageOracle<S, H>, SimpleMemory<H>, InMemoryEventSink<H>, PrecompilesProcessorWithHistory<false, H>, DecommitterOracle<false, S, H>, DummyTracer, 8, EncodingModeProduction> )
fn before_cycle( &mut self, _state: &mut VmState<StorageOracle<S, H>, SimpleMemory<H>, InMemoryEventSink<H>, PrecompilesProcessorWithHistory<false, H>, DecommitterOracle<false, S, H>, DummyTracer, 8, EncodingModeProduction> )
fn after_cycle( &mut self, _state: &mut VmState<StorageOracle<S, H>, SimpleMemory<H>, InMemoryEventSink<H>, PrecompilesProcessorWithHistory<false, H>, DecommitterOracle<false, S, H>, DummyTracer, 8, EncodingModeProduction>, _bootloader_state: &mut BootloaderState )
source§impl<S: WriteStorage, H: HistoryMode> VmTracer<S, H> for BootloaderDebugTracer
impl<S: WriteStorage, H: HistoryMode> VmTracer<S, H> for BootloaderDebugTracer
fn save_results(&mut self, _result: &mut VmExecutionResultAndLogs)
Auto Trait Implementations§
impl RefUnwindSafe for BootloaderDebugTracer
impl Send for BootloaderDebugTracer
impl Sync for BootloaderDebugTracer
impl Unpin for BootloaderDebugTracer
impl UnwindSafe for BootloaderDebugTracer
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