forked from matter-labs/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9773fe8
commit 593c7ea
Showing
11 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
core/lib/multivm/src/tracers/storage_invocation/era_vm/mod.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
use era_vm::{ | ||
opcode::{RetOpcode, Variant}, | ||
value::FatPointer, | ||
Execution, Opcode, | ||
}; | ||
use zksync_state::ReadStorage; | ||
use zksync_types::{ | ||
vm_trace::{Call, CallType}, | ||
zk_evm_types::FarCallOpcode, | ||
CONTRACT_DEPLOYER_ADDRESS, U256, | ||
}; | ||
|
||
use super::StorageInvocations; | ||
use crate::{ | ||
era_vm::tracers::traits::{Tracer, VmTracer}, | ||
interface::VmRevertReason, | ||
}; | ||
|
||
//TODO: Implement the Tracer trait for StorageInvocations | ||
impl Tracer for StorageInvocations {} | ||
|
||
impl<S: ReadStorage> VmTracer<S> for StorageInvocations {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
use era_vm::{ | ||
opcode::{RetOpcode, Variant}, | ||
value::FatPointer, | ||
Execution, Opcode, | ||
}; | ||
use zksync_state::ReadStorage; | ||
use zksync_types::{ | ||
vm_trace::{Call, CallType}, | ||
zk_evm_types::FarCallOpcode, | ||
CONTRACT_DEPLOYER_ADDRESS, U256, | ||
}; | ||
|
||
use super::ValidationTracer; | ||
use crate::{ | ||
era_vm::tracers::traits::{Tracer, VmTracer}, | ||
interface::VmRevertReason, | ||
}; | ||
|
||
//TODO: Implement the Tracer trait for ValidationTracer | ||
impl<H> Tracer for ValidationTracer<H> {} | ||
|
||
impl<S: ReadStorage, H> VmTracer<S> for ValidationTracer<H> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters