feat: add EngineApiKind enum (#10128)

This commit is contained in:
Miguel Tavares
2024-08-06 09:47:57 -03:00
committed by GitHub
parent ef728b5803
commit 2e45697d64

View File

@@ -16,6 +16,15 @@ use std::{
};
use tokio::sync::mpsc::UnboundedReceiver;
/// The type for specify which is kind of engine api
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum EngineApiKind {
/// The chain contains Ethereum configuration.
Ethereum,
/// The chain contains Optimism configuration.
OpStack,
}
/// Advances the chain based on incoming requests.
///
/// This is a general purpose request handler with network access.