Struct zksync_vm2::Settings
source · pub struct Settings {
pub default_aa_code_hash: [u8; 32],
pub evm_interpreter_code_hash: [u8; 32],
pub hook_address: u32,
}
Expand description
VirtualMachine
settings.
Fields§
§default_aa_code_hash: [u8; 32]
Bytecode hash of the default account abstraction contract.
evm_interpreter_code_hash: [u8; 32]
Bytecode hash of the EVM interpreter.
hook_address: u32
Writing to this address in the bootloader’s heap suspends execution
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)