pub struct ByzantiumPatch;
Expand description

Spurious Dragon patch.

Trait Implementations

Account patch
Maximum contract size.
Limit of the call stack.
Gas paid for extcode.
Gas paid for BALANCE opcode.
Gas paid for SLOAD opcode.
Gas paid for SUICIDE opcode.
Gas paid for SUICIDE opcode when it hits a new account.
Gas paid for CALL opcode.
Gas paid for EXP opcode for every byte.
Gas paid for a contract creation transaction.
Whether to force code deposit even if it does not have enough gas. Read more
Whether the EVM has DELEGATECALL opcode.
Whether the EVM has STATICCALL opcode.
Whether the EVM has REVERT opcode.
Whether the EVM has RETURNDATASIZE and RETURNDATACOPY opcode.
Whether the EVM has SHL, SHR and SAR
Whether the EVM has EXTCODEHASH
Whether EVM should implement the EIP1283 gas metering scheme for SSTORE opcode
Whether to throw out of gas error when CALL/CALLCODE/DELEGATECALL requires more than maximum amount of gas. Read more
If true, only consume at maximum l64(after_gas) when CALL/CALLCODE/DELEGATECALL. Read more
Maximum size of the memory, in bytes.
Precompiled contracts at given address, with required code, and its definition. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.