diff --git a/Cargo.lock b/Cargo.lock index 02e368bd..9d765384 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7886,8 +7886,8 @@ dependencies = [ [[package]] name = "tycho-execution" -version = "0.55.0" -source = "git+https://github.com/propeller-heads/tycho-execution.git?tag=0.55.0#4b089103448fc807dbf1366e2cb77cbfbd49f2db" +version = "0.56.0" +source = "git+https://github.com/propeller-heads/tycho-execution.git?rev=6f572eed01552f4a43181187cfef0c49d0fd9d80#6f572eed01552f4a43181187cfef0c49d0fd9d80" dependencies = [ "alloy 0.9.2", "alloy-primitives", diff --git a/Cargo.toml b/Cargo.toml index b56ba010..1091356f 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", features = ["evm"], tag = "0.55.0" } +tycho-execution = { git = "https://github.com/propeller-heads/tycho-execution.git", package = "tycho-execution", features = ["evm"], rev = "6f572eed01552f4a43181187cfef0c49d0fd9d80" } # 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 e722cde8..63605b9c 100644 --- a/examples/quickstart/main.rs +++ b/examples/quickstart/main.rs @@ -142,7 +142,7 @@ async fn main() { // Initialize the encoder let encoder = EVMEncoderBuilder::new() .chain(Chain::Ethereum) - .tycho_router_with_permit2(None, cli.swapper_pk.clone()) + .initialize_tycho_router_with_permit2(cli.swapper_pk.clone()) .expect("Failed to create encoder builder") .build() .expect("Failed to build encoder");