Skip to content

Commit 4d867c1

Browse files
committed
clean gasLimit
1 parent 1b66e19 commit 4d867c1

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/lib/UXDController.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ export class UXDController {
106106
minNativeAmountOut,
107107
receiver ?? await signer.getAddress(),
108108
{
109-
// ??? Which is the correct gas limit to put? Ask john
110-
gasLimit: ethers.utils.parseEther('0.000000000009'),
109+
gasLimit: 8_500_000,
111110
}
112111
);
113112
}
@@ -130,8 +129,7 @@ export class UXDController {
130129
receiver ?? await signer.getAddress(),
131130
{
132131
value: nativeAmount,
133-
// ??? Which is the correct gas limit to put? Ask john
134-
gasLimit: ethers.utils.parseEther('0.000000000009'),
132+
gasLimit: 8_500_000,
135133
},
136134
);
137135
}
@@ -192,8 +190,7 @@ export class UXDController {
192190
minNativeAmountOut,
193191
receiver ?? await signer.getAddress(),
194192
{
195-
// ??? Which is the correct gas limit to put? Ask john
196-
gasLimit: ethers.utils.parseEther('0.000000000009'),
193+
gasLimit: 8_500_000,
197194
},
198195
);
199196
}
@@ -216,8 +213,7 @@ export class UXDController {
216213
minNativeAmountOut,
217214
receiver ?? await signer.getAddress(),
218215
{
219-
// ??? Which is the correct gas limit to put? Ask john
220-
gasLimit: ethers.utils.parseEther('0.000000000009'),
216+
gasLimit: 8_500_000,
221217
},
222218
);
223219
}

0 commit comments

Comments
 (0)