diff --git a/Cargo.lock b/Cargo.lock index 1d871a12..3b8b4cd8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7870,8 +7870,8 @@ dependencies = [ [[package]] name = "tycho-execution" -version = "0.32.0" -source = "git+https://github.com/propeller-heads/tycho-execution.git?rev=58749bd65b697673aff94f75954dff5504182041#58749bd65b697673aff94f75954dff5504182041" +version = "0.33.0" +source = "git+https://github.com/propeller-heads/tycho-execution.git?rev=1e2c628ba969594709912157b0b8df816684b95d#1e2c628ba969594709912157b0b8df816684b95d" dependencies = [ "alloy 0.9.2", "alloy-primitives", @@ -7882,6 +7882,7 @@ dependencies = [ "lazy_static", "num-bigint", "num-traits", + "once_cell", "serde", "serde_json", "thiserror 1.0.69", diff --git a/Cargo.toml b/Cargo.toml index 59a12f3e..2cc15937 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ lazy_static = "1.4.0" # Tycho dependencies tycho-core = { git = "https://github.com/propeller-heads/tycho-indexer.git", package = "tycho-core", tag = "0.56.5" } tycho-client = { git = "https://github.com/propeller-heads/tycho-indexer.git", package = "tycho-client", tag = "0.56.5" } -tycho-execution = { git = "https://github.com/propeller-heads/tycho-execution.git", package = "tycho-execution", rev = "58749bd65b697673aff94f75954dff5504182041", features = ["evm"] } +tycho-execution = { git = "https://github.com/propeller-heads/tycho-execution.git", package = "tycho-execution", rev = "1e2c628ba969594709912157b0b8df816684b95d", features = ["evm"] } # EVM dependencies foundry-config = { git = "https://github.com/foundry-rs/foundry", rev = "57bb12e", optional = true } diff --git a/examples/quickstart/main.rs b/examples/quickstart/main.rs index c0359b43..b4691a68 100644 --- a/examples/quickstart/main.rs +++ b/examples/quickstart/main.rs @@ -128,7 +128,7 @@ async fn main() { let strategy_encoder_registry = EVMStrategyEncoderRegistry::new(Chain::Ethereum, None, signer_pk.clone()) .expect("Failed to create strategy encoder registry"); - let encoder = EVMTychoEncoder::new(strategy_encoder_registry, router_address) + let encoder = EVMTychoEncoder::new(strategy_encoder_registry, router_address, Chain::Ethereum) .expect("Failed to create encoder"); while let Some(message) = protocol_stream.next().await {