chore: nightly

This commit is contained in:
TAMARA LIPOWSKI
2025-08-21 17:42:36 -04:00
parent 2c38cf84fc
commit ebcc6c6cf0

View File

@@ -106,20 +106,14 @@ mod tests {
let dai = Bytes::from_str("0x6b175474e89094c44da98b954eedeac495271d0f").unwrap();
let swap_weth_wbtc = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
weth.clone(),
wbtc.clone(),
)
.build();
let swap_wbtc_usdc = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
wbtc.clone(),
usdc.clone(),
)
@@ -171,29 +165,20 @@ mod tests {
let dai = Bytes::from_str("0x6b175474e89094c44da98b954eedeac495271d0f").unwrap();
let swap_wbtc_weth = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
wbtc.clone(),
weth.clone(),
)
.build();
let swap_weth_usdc = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
weth.clone(),
usdc.clone(),
)
.split(0.5f64)
.build();
let swap_weth_dai = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
weth.clone(),
dai.clone(),
)
@@ -202,10 +187,7 @@ mod tests {
// 0 to signify "the remainder of the WETH value". It should still be very close to 50%
let swap_dai_usdc = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
dai.clone(),
usdc.clone(),
)
@@ -281,19 +263,13 @@ mod tests {
)
.build();
let swap_weth_dai = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
weth.clone(),
dai.clone(),
)
.build();
let swap_dai_usdc = SwapBuilder::new(
ProtocolComponent {
protocol_system: "uniswap_v4".to_string(),
..Default::default()
},
ProtocolComponent { protocol_system: "uniswap_v4".to_string(), ..Default::default() },
dai.clone(),
usdc.clone(),
)