mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove redundant enum (#13113)
This commit is contained in:
@ -15,9 +15,6 @@ mod engine_api;
|
||||
/// Engine API capabilities.
|
||||
pub mod capabilities;
|
||||
|
||||
/// The Engine API message type.
|
||||
mod message;
|
||||
|
||||
/// Engine API error.
|
||||
mod error;
|
||||
|
||||
@ -26,7 +23,6 @@ mod metrics;
|
||||
|
||||
pub use engine_api::{EngineApi, EngineApiSender};
|
||||
pub use error::*;
|
||||
pub use message::EngineApiMessageVersion;
|
||||
|
||||
// re-export server trait for convenience
|
||||
pub use reth_rpc_api::EngineApiServer;
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
/// The version of Engine API message.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum EngineApiMessageVersion {
|
||||
/// Version 1
|
||||
V1,
|
||||
/// Version 2
|
||||
///
|
||||
/// Added for shanghai hardfork.
|
||||
V2,
|
||||
/// Version 3
|
||||
///
|
||||
/// Added for cancun hardfork.
|
||||
V3,
|
||||
}
|
||||
Reference in New Issue
Block a user