Skip to content

Commit

Permalink
Merge pull request #159 from propeller-heads/execution/dc/ENG-4286-up…
Browse files Browse the repository at this point in the history
…date-encoder-builder

chore: Update quickstart with new builder shortcut
  • Loading branch information
dianacarvalho1 authored Mar 3, 2025
2 parents 5a5b87d + dc4d395 commit e8a5b58
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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.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 }
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e8a5b58

Please sign in to comment.