chore: After rebase with master fixes

Took 2 minutes
This commit is contained in:
Diana Carvalho
2025-02-04 17:32:14 +00:00
parent c89f46a2e6
commit 79f513c76b
2 changed files with 13 additions and 10 deletions

View File

@@ -498,8 +498,10 @@ mod tests {
token_out: dai.clone(),
split: 0f64,
};
let encoder = SplitSwapStrategyEncoder::new(private_key, Chain::Ethereum).unwrap();
let swap_encoder_registry = get_swap_encoder_registry();
let encoder =
SplitSwapStrategyEncoder::new(private_key, Chain::Ethereum, swap_encoder_registry)
.unwrap();
let solution = Solution {
exact_out: false,
given_token: NATIVE_ADDRESS.clone(),
@@ -545,8 +547,10 @@ mod tests {
token_out: WETH_ADDRESS.clone(),
split: 0f64,
};
let encoder = SplitSwapStrategyEncoder::new(private_key, Chain::Ethereum).unwrap();
let swap_encoder_registry = get_swap_encoder_registry();
let encoder =
SplitSwapStrategyEncoder::new(private_key, Chain::Ethereum, swap_encoder_registry)
.unwrap();
let solution = Solution {
exact_out: false,
given_token: dai,