Struct evm::VMTestPatch
[−]
[src]
pub struct VMTestPatch;
Patch sepcific for the jsontests
crate.
Trait Implementations
impl Patch for VMTestPatch
[src]
type Account = MainnetAccountPatch
Account patch
fn callstack_limit() -> usize
[src]
Limit of the call stack.
fn gas_extcode() -> Gas
[src]
Gas paid for extcode.
fn gas_balance() -> Gas
[src]
Gas paid for BALANCE opcode.
fn gas_sload() -> Gas
[src]
Gas paid for SLOAD opcode.
fn gas_suicide() -> Gas
[src]
Gas paid for SUICIDE opcode.
fn gas_suicide_new_account() -> Gas
[src]
Gas paid for SUICIDE opcode when it hits a new account.
fn gas_call() -> Gas
[src]
Gas paid for CALL opcode.
fn gas_expbyte() -> Gas
[src]
Gas paid for EXP opcode for every byte.
fn gas_transaction_create() -> Gas
[src]
Gas paid for a contract creation transaction.
fn force_code_deposit() -> bool
[src]
Whether to force code deposit even if it does not have enough gas. Read more
fn has_delegate_call() -> bool
[src]
Whether the EVM has DELEGATECALL opcode.
fn err_on_call_with_more_gas() -> bool
[src]
Whether to throw out of gas error when CALL/CALLCODE/DELEGATECALL requires more than maximum amount of gas. Read more
fn call_create_l64_after_gas() -> bool
[src]
If true, only consume at maximum l64(after_gas) when CALL/CALLCODE/DELEGATECALL. Read more
fn memory_limit() -> usize
[src]
Maximum size of the memory, in bytes.
fn precompileds(
) -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)]
[src]
) -> &'static [(Address, Option<&'static [u8]>, &'static Precompiled)]
Precompiled contracts at given address, with required code, and its definition. Read more