Skip to content

Commit

Permalink
feat: add EngineApiKind enum (paradigmxyz#10128)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvares authored Aug 6, 2024
1 parent ef728b5 commit 2e45697
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/engine/tree/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2e45697

Please sign in to comment.