reth_ethereum_forks/
lib.rs

1//! Ethereum fork types used in reth.
2//!
3//! This crate contains Ethereum fork types and helper functions.
4//!
5//! ## Feature Flags
6//!
7//! - `arbitrary`: Adds `proptest` and `arbitrary` support for primitive types.
8
9#![doc(
10    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
11    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
12    issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/"
13)]
14#![cfg_attr(not(test), warn(unused_crate_dependencies))]
15#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
16#![cfg_attr(not(feature = "std"), no_std)]
17
18extern crate alloc;
19
20mod display;
21mod forkcondition;
22mod forkid;
23mod hardfork;
24mod hardforks;
25mod head;
26
27pub use forkid::{
28    EnrForkIdEntry, ForkFilter, ForkFilterKey, ForkHash, ForkId, ForkTransition, ValidationError,
29};
30pub use hardfork::{EthereumHardfork, Hardfork, DEV_HARDFORKS};
31pub use head::Head;
32
33pub use display::DisplayHardforks;
34pub use forkcondition::ForkCondition;
35pub use hardforks::*;
36
37#[cfg(any(test, feature = "arbitrary"))]
38pub use arbitrary;