Skip to main content

Module fork

Module fork 

Source

Modules§

bal 🔒
Validates and caches BAL post-state, and prepares transaction forks’ parent-block BALs.
database
A revm database that forks off a remote client
multi 🔒
Support for running multiple fork backends.

Structs§

CreateFork
Represents a fork of a remote chain whose data is available only via the url endpoint.
Fork
A prepared remote fork. The RPC client and block are shared by preflight and execution.
ForkId
The unique identifier for a specific fork, this could be the name of the network a custom descriptive name.
ForkResult
Backend, environment, and identity returned after creating or rolling a fork.
MultiFork
The Sender half of multi fork pair. Can send requests to the MultiForkHandler to create forks.
MultiForkHandler
The type that manages connections in the background.

Functions§

cache_bal
Inserts a validated BAL’s post-state into its selected remote cache, retaining existing values.
encode_source_part 🔒
source_id 🔒
validate_bal
Validates the entire BAL before any values can enter the cache.