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.
macro_rules! hardfork {
($(#[$enum_meta:meta])* $enum:ident { $( $(#[$meta:meta])* $variant:ident ),* $(,)? }) => { ... };
}
Macro that defines different variants of a chain specific enum. See crate::Hardfork
as an
example.