reth_
revm
1.1.4
Module interpreter
Module Items
Modules
Structs
Constants
Functions
In reth_
revm::
interpreter
reth_revm
::
interpreter
Module
interpreter
Copy item path
Modules
§
analysis
serde
Structs
§
Contract
EVM contract information.
Interpreter
EVM bytecode interpreter.
Interpreter
Result
The result of an interpreter operation.
Shared
Memory
A sequential memory shared between calls, which uses a
Vec
for internal representation. A
SharedMemory
instance should always be obtained using the
new
static method to ensure memory safety.
Stack
EVM stack with
STACK_LIMIT
capacity of words.
Constants
§
EMPTY_
SHARED_
MEMORY
Empty shared memory.
STACK_
LIMIT
EVM interpreter stack limit.
Functions
§
num_
words
Returns number of words what would fit to provided number of bytes, i.e. it rounds up the number bytes to number of words.
resize_
memory
Resize the memory to the new size. Returns whether the gas was enough to resize the memory.