Merge branch 'main' into encoder/hr/ENG-4083-Validate-SplitSwap

This commit is contained in:
Harsh Vardhan Roy
2025-02-05 19:39:00 +05:30
committed by GitHub
8 changed files with 11 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ use alloy_sol_types::{eip712_domain, sol, SolStruct, SolValue};
use chrono::Utc;
use num_bigint::BigUint;
use tokio::runtime::Runtime;
use tycho_core::{models::Chain, Bytes};
use tycho_core::{dto::Chain, Bytes};
use crate::encoding::{
errors::EncodingError,

View File

@@ -1,4 +1,4 @@
use tycho_core::models::Chain;
use tycho_core::dto::Chain;
pub struct ChainId(u64);

View File

@@ -1,6 +1,6 @@
use std::collections::HashMap;
use tycho_core::models::Chain;
use tycho_core::dto::Chain;
use crate::encoding::{
errors::EncodingError,

View File

@@ -7,7 +7,7 @@ use std::{
use alloy_primitives::{aliases::U24, FixedBytes, U256, U8};
use alloy_sol_types::SolValue;
use num_bigint::BigUint;
use tycho_core::{keccak256, models::Chain, Bytes};
use tycho_core::{dto::Chain, keccak256, Bytes};
use crate::encoding::{
errors::EncodingError,

View File

@@ -1,6 +1,6 @@
use std::{collections::HashMap, fs};
use tycho_core::models::Chain;
use tycho_core::dto::Chain;
use crate::encoding::{
errors::EncodingError, evm::swap_encoder::builder::SwapEncoderBuilder,

View File

@@ -104,7 +104,7 @@ impl<S: StrategyEncoderRegistry> TychoEncoder<S> for EVMTychoEncoder<S> {
#[cfg(test)]
mod tests {
use tycho_core::{dto::ProtocolComponent, models::Chain};
use tycho_core::dto::{Chain, ProtocolComponent};
use super::*;
use crate::encoding::{