fix: Add empty dicts for unichain and base in config

Also fix example: we need a checked amount or slippage set now

--- don't change below this line ---
ENG-4332 Took 6 minutes
This commit is contained in:
Diana Carvalho
2025-04-08 16:18:44 +01:00
parent 739fb46d20
commit c0b50c0661
2 changed files with 5 additions and 3 deletions

View File

@@ -56,8 +56,8 @@ fn main() {
given_token: weth.clone(),
given_amount: BigUint::from_str("1_000000000000000000").expect("Failed to create amount"),
checked_token: usdc.clone(),
exact_out: false, // it's an exact in solution
checked_amount: None, // the amount out will not be checked in execution
exact_out: false, // it's an exact in solution
checked_amount: Some(BigUint::from(1u64)),
swaps: vec![simple_swap],
..Default::default()
};