You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/integration-tests/gas-tests/__snapshots__/Uniswap.gas.test.ts.snap
+26-26
Original file line number
Diff line number
Diff line change
@@ -3,49 +3,49 @@
3
3
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Batch reverts gas: 2 sub-plans, both fail but the transaction succeeds 1`] =`
4
4
Object {
5
5
"calldataByteLength": 1764,
6
-
"gasUsed": 269421,
6
+
"gasUsed": 269286,
7
7
}
8
8
`;
9
9
10
10
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Batch reverts gas: 2 sub-plans, neither fails 1`] =`
11
11
Object {
12
12
"calldataByteLength": 1764,
13
-
"gasUsed": 245148,
13
+
"gasUsed": 245013,
14
14
}
15
15
`;
16
16
17
17
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Batch reverts gas: 2 sub-plans, second sub plan fails 1`] =`
18
18
Object {
19
19
"calldataByteLength": 1764,
20
-
"gasUsed": 245148,
20
+
"gasUsed": 245013,
21
21
}
22
22
`;
23
23
24
24
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Batch reverts gas: 2 sub-plans, the first fails 1`] =`
25
25
Object {
26
26
"calldataByteLength": 1764,
27
-
"gasUsed": 269421,
27
+
"gasUsed": 269286,
28
28
}
29
29
`;
30
30
31
31
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Interleaving routes gas: V2, then V3 1`] =`
32
32
Object {
33
33
"calldataByteLength": 836,
34
-
"gasUsed": 189470,
34
+
"gasUsed": 189429,
35
35
}
36
36
`;
37
37
38
38
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Interleaving routes gas: V3, then V2 1`] =`
39
39
Object {
40
40
"calldataByteLength": 836,
41
-
"gasUsed": 177054,
41
+
"gasUsed": 177013,
42
42
}
43
43
`;
44
44
45
45
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ERC20 --> ERC20 split V2 and V2 different routes, different input tokens, each two hop, with batch permit 1`] =`
46
46
Object {
47
47
"calldataByteLength": 1540,
48
-
"gasUsed": 298488,
48
+
"gasUsed": 297045,
49
49
}
50
50
`;
51
51
@@ -59,7 +59,7 @@ Object {
59
59
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ERC20 --> ERC20 split V2 and V2 different routes, each two hop, with explicit permit transfer from batch 1`] =`
60
60
Object {
61
61
"calldataByteLength": 1284,
62
-
"gasUsed": 309785,
62
+
"gasUsed": 309749,
63
63
}
64
64
`;
65
65
@@ -73,35 +73,35 @@ Object {
73
73
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ERC20 --> ERC20 split V2 and V3, one hop 1`] =`
74
74
Object {
75
75
"calldataByteLength": 996,
76
-
"gasUsed": 176845,
76
+
"gasUsed": 176751,
77
77
}
78
78
`;
79
79
80
80
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ERC20 --> ERC20 split V2 and V3, one hop, ADDRESS_THIS flag 1`] =`
81
81
Object {
82
82
"calldataByteLength": 996,
83
-
"gasUsed": 176620,
83
+
"gasUsed": 176526,
84
84
}
85
85
`;
86
86
87
87
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ERC20 --> ETH split V2 and V3, exactOut, one hop 1`] =`
88
88
Object {
89
89
"calldataByteLength": 964,
90
-
"gasUsed": 194645,
90
+
"gasUsed": 194604,
91
91
}
92
92
`;
93
93
94
94
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ERC20 --> ETH split V2 and V3, one hop 1`] =`
95
95
Object {
96
96
"calldataByteLength": 964,
97
-
"gasUsed": 184716,
97
+
"gasUsed": 184675,
98
98
}
99
99
`;
100
100
101
101
exports[`Uniswap Gas Tests Mixing V2 and V3 with Universal Router. Split routes gas: ETH --> ERC20 split V2 and V3, one hop 1`] =`
102
102
Object {
103
103
"calldataByteLength": 1124,
104
-
"gasUsed": 191723,
104
+
"gasUsed": 191629,
105
105
}
106
106
`;
107
107
@@ -143,7 +143,7 @@ Object {
143
143
exports[`Uniswap Gas Tests Trade on UniswapV2 with Universal Router. ERC20 --> ERC20 gas: exactIn trade, where an output fee is taken 1`] =`
144
144
Object {
145
145
"calldataByteLength": 836,
146
-
"gasUsed": 126565,
146
+
"gasUsed": 126459,
147
147
}
148
148
`;
149
149
@@ -213,14 +213,14 @@ Object {
213
213
exports[`Uniswap Gas Tests Trade on UniswapV2 with Universal Router. ERC20 --> ETH gas: exactOut, one trade, one hop 1`] =`
214
214
Object {
215
215
"calldataByteLength": 804,
216
-
"gasUsed": 128329,
216
+
"gasUsed": 128276,
217
217
}
218
218
`;
219
219
220
220
exports[`Uniswap Gas Tests Trade on UniswapV2 with Universal Router. ERC20 --> ETH gas: exactOut, with ETH fee 1`] =`
221
221
Object {
222
222
"calldataByteLength": 964,
223
-
"gasUsed": 136301,
223
+
"gasUsed": 136195,
224
224
}
225
225
`;
226
226
@@ -283,69 +283,69 @@ Object {
283
283
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ERC20 gas: exactIn, one trade, one hop 1`] =`
284
284
Object {
285
285
"calldataByteLength": 516,
286
-
"gasUsed": 105541,
286
+
"gasUsed": 105500,
287
287
}
288
288
`;
289
289
290
290
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ERC20 gas: exactIn, one trade, three hops 1`] =`
291
291
Object {
292
292
"calldataByteLength": 548,
293
-
"gasUsed": 254014,
293
+
"gasUsed": 253891,
294
294
}
295
295
`;
296
296
297
297
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ERC20 gas: exactIn, one trade, two hops 1`] =`
298
298
Object {
299
299
"calldataByteLength": 548,
300
-
"gasUsed": 177164,
300
+
"gasUsed": 177082,
301
301
}
302
302
`;
303
303
304
304
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ERC20 gas: exactOut, one trade, one hop 1`] =`
305
305
Object {
306
306
"calldataByteLength": 516,
307
-
"gasUsed": 115071,
307
+
"gasUsed": 115030,
308
308
}
309
309
`;
310
310
311
311
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ERC20 gas: exactOut, one trade, three hops 1`] =`
312
312
Object {
313
313
"calldataByteLength": 548,
314
-
"gasUsed": 251172,
314
+
"gasUsed": 251049,
315
315
}
316
316
`;
317
317
318
318
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ERC20 gas: exactOut, one trade, two hops 1`] =`
319
319
Object {
320
320
"calldataByteLength": 548,
321
-
"gasUsed": 174826,
321
+
"gasUsed": 174744,
322
322
}
323
323
`;
324
324
325
325
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ETH gas: exactIn swap 1`] =`
326
326
Object {
327
327
"calldataByteLength": 644,
328
-
"gasUsed": 121815,
328
+
"gasUsed": 121774,
329
329
}
330
330
`;
331
331
332
332
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ERC20 --> ETH gas: exactOut swap 1`] =`
333
333
Object {
334
334
"calldataByteLength": 644,
335
-
"gasUsed": 131417,
335
+
"gasUsed": 131376,
336
336
}
337
337
`;
338
338
339
339
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ETH --> ERC20 gas: exactIn swap 1`] =`
340
340
Object {
341
341
"calldataByteLength": 644,
342
-
"gasUsed": 215384,
342
+
"gasUsed": 215343,
343
343
}
344
344
`;
345
345
346
346
exports[`Uniswap Gas Tests Trade on UniswapV3 with Universal Router. ETH --> ERC20 gas: exactOut swap 1`] =`
0 commit comments