fix: Remove checkMinAmount

If minAmountOut == 0, then skip the check

--- don't change below this line ---
ENG-4041 Took 35 minutes
This commit is contained in:
Diana Carvalho
2025-01-28 10:26:38 +00:00
parent 50429ad05c
commit d8de65aedf
2 changed files with 4 additions and 13 deletions

View File

@@ -351,7 +351,6 @@ contract TychoRouterTest is TychoRouterTestSetup {
amount_in,
WETH_ADDR,
DAI_ADDR,
true,
minAmountOut,
false,
false,
@@ -403,7 +402,6 @@ contract TychoRouterTest is TychoRouterTestSetup {
amount_in,
WETH_ADDR,
DAI_ADDR,
true,
minAmountOut,
false,
false,
@@ -449,7 +447,6 @@ contract TychoRouterTest is TychoRouterTestSetup {
amount_in,
WETH_ADDR,
DAI_ADDR,
false,
0,
false,
false,
@@ -498,7 +495,6 @@ contract TychoRouterTest is TychoRouterTestSetup {
amount_in,
address(0),
DAI_ADDR,
false,
0,
true,
false,
@@ -542,7 +538,6 @@ contract TychoRouterTest is TychoRouterTestSetup {
amount_in,
DAI_ADDR,
address(0),
false,
0,
false,
true,