From f99bd296a1b74900adc24ea9db7b75367612e0f9 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Tue, 29 Apr 2025 17:06:41 -0400 Subject: [PATCH] fix: Derive Clone in TychoEncoders --- src/encoding/evm/tycho_encoders.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/encoding/evm/tycho_encoders.rs b/src/encoding/evm/tycho_encoders.rs index c6c5692..3fd97c2 100644 --- a/src/encoding/evm/tycho_encoders.rs +++ b/src/encoding/evm/tycho_encoders.rs @@ -25,6 +25,7 @@ use crate::encoding::{ /// * `split_swap_strategy`: Encoder for split swaps /// * `native_address`: Address of the chain's native token /// * `wrapped_address`: Address of the chain's wrapped native token +#[derive(Clone)] pub struct TychoRouterEncoder { single_swap_strategy: SingleSwapStrategyEncoder, sequential_swap_strategy: SequentialSwapStrategyEncoder, @@ -213,6 +214,7 @@ impl TychoEncoder for TychoRouterEncoder { /// # Fields /// * `swap_encoder_registry`: Registry of swap encoders /// * `native_address`: Address of the chain's native token +#[derive(Clone)] pub struct TychoExecutorEncoder { swap_encoder_registry: SwapEncoderRegistry, native_address: Bytes,