reth_revm/
lib.rs

1//! Revm utils and implementations specific to reth.
2
3#![doc(
4    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
5    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
6    issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/"
7)]
8#![cfg_attr(not(test), warn(unused_crate_dependencies))]
9#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
10#![cfg_attr(not(feature = "std"), no_std)]
11
12extern crate alloc;
13
14pub mod batch;
15
16/// Cache database that reads from an underlying [`DatabaseRef`].
17/// Database adapters for payload building.
18pub mod cached;
19
20/// Contains glue code for integrating reth database into revm's [Database].
21pub mod database;
22
23/// Common test helpers
24#[cfg(any(test, feature = "test-utils"))]
25pub mod test_utils;
26
27// Convenience re-exports.
28pub use revm::{self, *};
29
30/// Either type for flexible usage of different database types in the same context.
31pub mod either;
32
33/// Helper types for execution witness generation.
34#[cfg(feature = "witness")]
35pub mod witness;