chore: merge main

This commit is contained in:
TAMARA LIPOWSKI
2025-02-20 12:33:59 -05:00
11 changed files with 14 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ impl SwapEncoderRegistry {
/// executors' addresses in the file at the given path.
pub fn new(
executors_file_path: Option<String>,
blockchain: tycho_core::dto::Chain,
blockchain: tycho_core::models::Chain,
) -> Result<Self, EncodingError> {
let chain = Chain::from(blockchain);
let config_str = if let Some(ref path) = executors_file_path {

View File

@@ -291,7 +291,7 @@ mod tests {
use alloy::hex::encode;
use num_bigint::BigInt;
use tycho_core::{dto::ProtocolComponent, Bytes};
use tycho_core::{models::protocol::ProtocolComponent, Bytes};
use super::*;
@@ -479,7 +479,6 @@ mod tests {
.unwrap();
let hex_swap = encode(&encoded_swap);
println!("{}", hex_swap);
assert_eq!(
hex_swap,
String::from(concat!(