Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions crates/op-revm/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@ pub struct OpHandler<EVM, ERROR, FRAME> {
/// Mainnet handler allows us to use functions from the mainnet handler inside optimism handler.
/// So we dont duplicate the logic
pub mainnet: MainnetHandler<EVM, ERROR, FRAME>,
/// Phantom data to avoid type inference issues.
pub _phantom: core::marker::PhantomData<(EVM, ERROR, FRAME)>,
}

impl<EVM, ERROR, FRAME> OpHandler<EVM, ERROR, FRAME> {
/// Create a new Optimism handler.
pub fn new() -> Self {
Self {
mainnet: MainnetHandler::default(),
_phantom: core::marker::PhantomData,
}
}
}
Expand Down
Loading