fix: Add optimized_transfers_integration_tests.rs

I forgot these tests in the previous PR

Took 24 minutes
This commit is contained in:
Diana Carvalho
2025-06-23 15:34:11 +01:00
parent d9d015635a
commit df63b87569
7 changed files with 636 additions and 56 deletions

View File

@@ -57,8 +57,8 @@ fn test_single_swap_strategy_encoder() {
eth_chain().id,
encoded_solutions[0].clone(),
&solution,
UserTransferType::TransferFromPermit2,
eth(),
&UserTransferType::TransferFromPermit2,
&eth(),
Some(get_signer()),
)
.unwrap()
@@ -142,8 +142,8 @@ fn test_single_swap_strategy_encoder_no_permit2() {
eth_chain().id,
encoded_solution,
&solution,
UserTransferType::TransferFrom,
eth(),
&UserTransferType::TransferFrom,
&eth(),
None,
)
.unwrap()
@@ -224,8 +224,8 @@ fn test_single_swap_strategy_encoder_no_transfer_in() {
eth_chain().id,
encoded_solution,
&solution,
UserTransferType::None,
eth(),
&UserTransferType::None,
&eth(),
None,
)
.unwrap()
@@ -308,8 +308,8 @@ fn test_single_swap_strategy_encoder_wrap() {
eth_chain().id,
encoded_solution,
&solution,
UserTransferType::TransferFromPermit2,
eth(),
&UserTransferType::TransferFromPermit2,
&eth(),
Some(get_signer()),
)
.unwrap()
@@ -360,8 +360,8 @@ fn test_single_swap_strategy_encoder_unwrap() {
eth_chain().id,
encoded_solution,
&solution,
UserTransferType::TransferFromPermit2,
eth(),
&UserTransferType::TransferFromPermit2,
&eth(),
Some(get_signer()),
)
.unwrap()