mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore: add manual clone impl (#16475)
This commit is contained in:
@@ -473,7 +473,7 @@ impl<NetworkT> OpAddOnsBuilder<NetworkT> {
|
||||
}
|
||||
|
||||
/// A regular optimism evm and executor builder.
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
#[derive(Debug, Copy)]
|
||||
#[non_exhaustive]
|
||||
pub struct OpExecutorBuilder<ChainSpec = OpChainSpec, Primitives = OpPrimitives> {
|
||||
/// Marker for chain spec type.
|
||||
@@ -482,6 +482,12 @@ pub struct OpExecutorBuilder<ChainSpec = OpChainSpec, Primitives = OpPrimitives>
|
||||
_p: PhantomData<Primitives>,
|
||||
}
|
||||
|
||||
impl<ChainSpec, Primitives> Clone for OpExecutorBuilder<ChainSpec, Primitives> {
|
||||
fn clone(&self) -> Self {
|
||||
Self::default()
|
||||
}
|
||||
}
|
||||
|
||||
impl<ChainSpec, Primitives> Default for OpExecutorBuilder<ChainSpec, Primitives> {
|
||||
fn default() -> Self {
|
||||
Self { _cs: PhantomData, _p: PhantomData }
|
||||
|
||||
Reference in New Issue
Block a user