From bde0944d8803579665fadfc5121853f5214b1056 Mon Sep 17 00:00:00 2001 From: Diana Carvalho Date: Thu, 27 Feb 2025 18:23:22 +0000 Subject: [PATCH] fix: Update tycho-execution tag --- don't change below this line --- ENG-4225 Took 35 minutes --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- examples/quickstart/main.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8924ad36..1a9b9556 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7874,8 +7874,8 @@ dependencies = [ [[package]] name = "tycho-execution" -version = "0.54.0" -source = "git+https://github.com/propeller-heads/tycho-execution.git?tag=0.54.0#87e7394b0aca9781c44782eeb117508c7dddf9e2" +version = "0.55.0" +source = "git+https://github.com/propeller-heads/tycho-execution.git?tag=0.55.0#4b089103448fc807dbf1366e2cb77cbfbd49f2db" dependencies = [ "alloy 0.9.2", "alloy-primitives", diff --git a/Cargo.toml b/Cargo.toml index 54815623..c5283bd2 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.54.0" } +tycho-execution = { git = "https://github.com/propeller-heads/tycho-execution.git", package = "tycho-execution", features = ["evm"], tag = "0.55.0" } # 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 ac2d3ea6..4ec2778d 100644 --- a/examples/quickstart/main.rs +++ b/examples/quickstart/main.rs @@ -390,7 +390,7 @@ fn encode( exact_out: false, // it's an exact in solution checked_amount: None, // the amount out will not be checked in execution swaps: vec![simple_swap], - router_address: Bytes::from_str("0xFfA5ec2e444e4285108e4a17b82dA495c178427B") + router_address: Bytes::from_str("0x023eea66B260FA2E109B0764774837629cC41FeF") .expect("Failed to create router address"), ..Default::default() }; @@ -443,7 +443,7 @@ async fn get_tx_requests( .from(user_address) .to(sell_token_address) .input(TransactionInput { input: Some(AlloyBytes::from(data)), data: None }) - .gas_limit(50_000u64) + .gas_limit(100_000u64) .max_fee_per_gas(max_fee_per_gas.into()) .max_priority_fee_per_gas(max_priority_fee_per_gas.into()) .nonce(nonce);