Crate revm_interpreter

Source
Expand description

§revm-interpreter

REVM Interpreter.

Re-exports§

Modules§

Macros§

  • Converts a U256 value to a isize, saturating to isize::MAX if the value is too large.
  • Converts a U256 value to a u64, saturating to MAX if the value is too large.
  • Converts a U256 value to a usize, failing the instruction if the value is too large.
  • Converts a U256 value to a usize and returns ret, failing the instruction if the value is too large.
  • Converts a U256 value to a usize, saturating to MAX if the value is too large.
  • Check if the SPEC is enabled, and fail the instruction if it is not.
  • Records a gas cost and fails the instruction if it would exceed the available gas.
  • Same as gas!, but with gas as an option.
  • Pushes a B256 value onto the stack. Fails the instruction if the stack is full.
  • Error if the current call is executing EOF.
  • Fails the instruction if the current call is static.
  • Resizes the interpreterreter memory if necessary. Fails the instruction if the memory or gas limit is exceeded.
  • const Option ?.

Structs§

Enums§

Constants§

Traits§

  • EVM context host. TODO move to context-interface