feat: Implement Clone for EVMTychoEncoder

--- don't change below this line ---
ENG-4255 Took 6 minutes
This commit is contained in:
Diana Carvalho
2025-02-20 17:44:41 +00:00
parent c6c734d494
commit 8b2af4f577

View File

@@ -20,6 +20,16 @@ pub struct EVMTychoEncoder {
wrapped_address: Bytes,
}
impl Clone for EVMTychoEncoder {
fn clone(&self) -> Self {
Self {
strategy_encoder: self.strategy_encoder.clone_box(),
native_address: self.native_address.clone(),
wrapped_address: self.wrapped_address.clone(),
}
}
}
impl EVMTychoEncoder {
pub fn new(
chain: tycho_core::models::Chain,