reth_node_core::primitives

Macro hardfork

Source
macro_rules! hardfork {
    ($(#[$enum_meta:meta])* $enum:ident { $( $(#[$meta:meta])* $variant:ident ),* $(,)? }) => { ... };
}
Expand description

Macro that defines different variants of a chain specific enum. See crate::Hardfork as an example.