Skip to main content

Module overrides

Module overrides 

Available on crate feature overrides only.
Expand description

RPC utilities for working with EVM.

This module provides helper functions for RPC implementations, including:

  • Block and state overrides

Enums§

StateOverrideError
Errors that can occur when applying state overrides.

Traits§

OverrideBlockHashes
Helper trait implemented for databases that support overriding block hashes.

Functions§

apply_block_overrides
Applies the given block overrides to the env and updates overridden block hashes in the db.
apply_state_overrides
Applies the given state overrides (a set of [AccountOverride]) to the database.