From 918bc27e397a4f1790ca5d359043b9be19504d6d Mon Sep 17 00:00:00 2001 From: Diana Carvalho Date: Thu, 20 Feb 2025 18:31:28 +0000 Subject: [PATCH] chore: Don't call Chain TychoCoreChain unnecessarily --- don't change below this line --- ENG-4255 Took 2 minutes --- examples/quickstart/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/quickstart/main.rs b/examples/quickstart/main.rs index 7f5983a..7c0ca51 100644 --- a/examples/quickstart/main.rs +++ b/examples/quickstart/main.rs @@ -2,7 +2,7 @@ use std::str::FromStr; use num_bigint::BigUint; use tycho_core::{ - models::{protocol::ProtocolComponent, Chain as TychoCoreChain}, + models::{protocol::ProtocolComponent, Chain}, Bytes, }; use tycho_execution::encoding::{ @@ -22,7 +22,7 @@ fn main() { // Initialize the encoder let encoder = EVMEncoderBuilder::new() - .chain(TychoCoreChain::Ethereum) + .chain(Chain::Ethereum) .tycho_router_with_permit2(None, swapper_pk) .expect("Failed to create encoder builder") .build()