Struct zksync_vm2::StorageChange
source · pub struct StorageChange {
pub before: U256,
pub after: U256,
pub is_initial: bool,
}
Expand description
Change in a single storage slot.
Fields§
§before: U256
Value before the slot was written to.
after: U256
Value written to the slot.
is_initial: bool
true
if the slot is not set in the World
.
A write may be initial even if it isn’t the first write to a slot!
Trait Implementations§
source§impl Debug for StorageChange
impl Debug for StorageChange
source§impl PartialEq for StorageChange
impl PartialEq for StorageChange
impl StructuralPartialEq for StorageChange
Auto Trait Implementations§
impl Freeze for StorageChange
impl RefUnwindSafe for StorageChange
impl Send for StorageChange
impl Sync for StorageChange
impl Unpin for StorageChange
impl UnwindSafe for StorageChange
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