[−][src]Struct evm_runtime::Config
Runtime configuration.
Fields
gas_ext_code: usizeGas paid for extcode.
gas_ext_code_hash: usizeGas paid for extcodehash.
gas_sstore_set: usizeGas paid for sstore set.
gas_sstore_reset: usizeGas paid for sstore reset.
refund_sstore_clears: isizeGas paid for sstore refund.
gas_balance: usizeGas paid for BALANCE opcode.
gas_sload: usizeGas paid for SLOAD opcode.
gas_suicide: usizeGas paid for SUICIDE opcode.
gas_suicide_new_account: usizeGas paid for SUICIDE opcode when it hits a new account.
gas_call: usizeGas paid for CALL opcode.
gas_expbyte: usizeGas paid for EXP opcode for every byte.
gas_transaction_create: usizeGas paid for a contract creation transaction.
gas_transaction_call: usizeGas paid for a message call transaction.
gas_transaction_zero_data: usizeGas paid for zero data in a transaction.
gas_transaction_non_zero_data: usizeGas paid for non-zero data in a transaction.
sstore_gas_metering: boolEIP-1283.
sstore_revert_under_stipend: boolEIP-1706.
err_on_call_with_more_gas: boolWhether to throw out of gas error when CALL/CALLCODE/DELEGATECALL requires more than maximum amount of gas.
call_l64_after_gas: boolTake l64 for callcreate after gas.
empty_considered_exists: boolWhether empty account is considered exists.
create_increase_nonce: boolWhether create transactions and create opcode increases nonce by one.
stack_limit: usizeStack limit.
memory_limit: usizeMemory limit.
call_stack_limit: usizeCall limit.
create_contract_limit: Option<usize>Create contract limit.
call_stipend: usizeCall stipend.
has_delegate_call: boolHas delegate call.
has_create2: boolHas create2.
has_revert: boolHas revert.
has_return_data: boolHas return data.
has_bitwise_shifting: boolHas bitwise shifting.
has_chain_id: boolHas chain ID.
has_self_balance: boolHas self balance.
has_ext_code_hash: boolHas ext code hash.
Implementations
impl Config[src]
pub const fn frontier() -> Config[src]
Frontier hard fork configuration.
pub const fn istanbul() -> Config[src]
Istanbul hard fork configuration.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,