Skip to content

Commit

Permalink
feat(quickstart): Update rev for execution to use mainet contracts
Browse files Browse the repository at this point in the history
--- don't change below this line ---
ENG-4207 Took 9 minutes


Took 15 seconds
  • Loading branch information
dianacarvalho1 committed Feb 24, 2025
1 parent 4b1c8a7 commit bea756f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
};
Expand Down

0 comments on commit bea756f

Please sign in to comment.