refactor: use chain and protocol component from tycho_core::models

This commit is contained in:
royvardhan
2025-02-20 22:36:50 +05:30
parent 9693856dca
commit 29bc662ba9
11 changed files with 14 additions and 14 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 {