From bea756f4b35c1f714ef30716a9018526ad8295c5 Mon Sep 17 00:00:00 2001 From: Diana Carvalho Date: Mon, 24 Feb 2025 17:55:31 +0000 Subject: [PATCH] feat(quickstart): Update rev for execution to use mainet contracts --- don't change below this line --- ENG-4207 Took 9 minutes Took 15 seconds --- Cargo.lock | 2 +- Cargo.toml | 2 +- examples/quickstart/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 61d3782a..8f1fb59b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7872,7 +7872,7 @@ dependencies = [ [[package]] name = "tycho-execution" version = "0.51.0" -source = "git+https://github.com/propeller-heads/tycho-execution.git?tag=0.51.0#dd6b1151b241adb37b4a4cc0673ade068f937de1" +source = "git+https://github.com/propeller-heads/tycho-execution.git?rev=5aec1c08117c249ebe68421367ad6a68636fca9b#5aec1c08117c249ebe68421367ad6a68636fca9b" dependencies = [ "alloy 0.9.2", "alloy-primitives", diff --git a/Cargo.toml b/Cargo.toml index cdda8386..8b6a7776 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.51.0" } +tycho-execution = { git = "https://github.com/propeller-heads/tycho-execution.git", package = "tycho-execution", features = ["evm"], rev = "5aec1c08117c249ebe68421367ad6a68636fca9b" } # 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 2ecb43ab..492ac8ef 100644 --- a/examples/quickstart/main.rs +++ b/examples/quickstart/main.rs @@ -239,7 +239,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("0x1234567890abcdef1234567890abcdef12345678") + router_address: Bytes::from_str("0xFfA5ec2e444e4285108e4a17b82dA495c178427B") .expect("Failed to create router address"), ..Default::default() };