feat: Rename shortcut methods of encoder builder

Also moved executors_file_path to be an independent attribute

--- don't change below this line ---
ENG-4286 Took 19 minutes
This commit is contained in:
Diana Carvalho
2025-03-03 12:59:42 +00:00
parent 5a2474c0f4
commit 6f572eed01
3 changed files with 46 additions and 29 deletions

View File

@@ -23,7 +23,7 @@ fn main() {
// Initialize the encoder
let encoder = EVMEncoderBuilder::new()
.chain(Chain::Ethereum)
.tycho_router_with_permit2(None, swapper_pk)
.initialize_tycho_router_with_permit2(swapper_pk)
.expect("Failed to create encoder builder")
.build()
.expect("Failed to build encoder");