Skip to content

Commit 6ac907b

Browse files
committed
update snaps
1 parent c9241ce commit 6ac907b

File tree

4 files changed

+33
-141
lines changed

4 files changed

+33
-141
lines changed

test/__snapshots__/Oracle.spec.ts.snap

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Oracle #grow gas for growing by 1 slot when index != cardinality - 1 1`] = `7764674`;
4-
5-
exports[`Oracle #grow gas for growing by 1 slot when index == cardinality - 1 1`] = `7473022`;
6-
7-
exports[`Oracle #grow gas for growing by 10 slots when index != cardinality - 1 1`] = `13532837`;
8-
9-
exports[`Oracle #grow gas for growing by 10 slots when index == cardinality - 1 1`] = `13234645`;
10-
11-
exports[`Oracle #initialize gas 1`] = `6591566`;
12-
133
exports[`Oracle #observe before initialization gas for observe since most recent 1`] = `821509`;
144

155
exports[`Oracle #observe before initialization gas for single observation at current time 1`] = `547267`;

test/__snapshots__/TickBitmap.spec.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`TickBitmap #flipTick gas cost of flipping a tick that results in deleting a word 1`] = `4640127`;
3+
exports[`TickBitmap #flipTick gas cost of flipping a tick that results in deleting a word 1`] = `4647927`;
44

5-
exports[`TickBitmap #flipTick gas cost of flipping first tick in word to initialized 1`] = `4792692`;
5+
exports[`TickBitmap #flipTick gas cost of flipping first tick in word to initialized 1`] = `4800492`;
66

7-
exports[`TickBitmap #flipTick gas cost of flipping second tick in word to initialized 1`] = `4815923`;
7+
exports[`TickBitmap #flipTick gas cost of flipping second tick in word to initialized 1`] = `4823723`;
88

99
exports[`TickBitmap #nextInitializedTickWithinOneWord lte = false gas cost for entire word 1`] = `146753`;
1010

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`UniswapV3Factory #createPool gas 1`] = `122713950`;
4-
53
exports[`UniswapV3Factory factory bytecode size 1`] = `24535`;
64

75
exports[`UniswapV3Factory pool bytecode size 1`] = `22142`;
Lines changed: 30 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -1,169 +1,73 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`UniswapV3Pool gas tests fee is off #burn above current price burn entire position after some time passes 1`] = `18672773`;
3+
exports[`UniswapV3Pool gas tests fee is off #burn above current price burn entire position after some time passes 1`] = `18680573`;
44

5-
exports[`UniswapV3Pool gas tests fee is off #burn above current price burn when only position using ticks 1`] = `18672773`;
5+
exports[`UniswapV3Pool gas tests fee is off #burn above current price burn when only position using ticks 1`] = `18680573`;
66

7-
exports[`UniswapV3Pool gas tests fee is off #burn above current price entire position burn but other positions are using the ticks 1`] = `22332154`;
7+
exports[`UniswapV3Pool gas tests fee is off #burn above current price entire position burn but other positions are using the ticks 1`] = `22339954`;
88

9-
exports[`UniswapV3Pool gas tests fee is off #burn above current price partial position burn 1`] = `23337860`;
9+
exports[`UniswapV3Pool gas tests fee is off #burn above current price partial position burn 1`] = `23345660`;
1010

11-
exports[`UniswapV3Pool gas tests fee is off #burn around current price burn entire position after some time passes 1`] = `21333647`;
11+
exports[`UniswapV3Pool gas tests fee is off #burn around current price burn entire position after some time passes 1`] = `21341447`;
1212

13-
exports[`UniswapV3Pool gas tests fee is off #burn around current price burn when only position using ticks 1`] = `19707782`;
13+
exports[`UniswapV3Pool gas tests fee is off #burn around current price burn when only position using ticks 1`] = `19715582`;
1414

15-
exports[`UniswapV3Pool gas tests fee is off #burn around current price entire position burn but other positions are using the ticks 1`] = `23368876`;
15+
exports[`UniswapV3Pool gas tests fee is off #burn around current price entire position burn but other positions are using the ticks 1`] = `23376676`;
1616

17-
exports[`UniswapV3Pool gas tests fee is off #burn around current price partial position burn 1`] = `24574154`;
17+
exports[`UniswapV3Pool gas tests fee is off #burn around current price partial position burn 1`] = `24581954`;
1818

19-
exports[`UniswapV3Pool gas tests fee is off #burn below current price burn entire position after some time passes 1`] = `19850122`;
19+
exports[`UniswapV3Pool gas tests fee is off #burn below current price burn entire position after some time passes 1`] = `19857922`;
2020

21-
exports[`UniswapV3Pool gas tests fee is off #burn below current price burn when only position using ticks 1`] = `19850122`;
21+
exports[`UniswapV3Pool gas tests fee is off #burn below current price burn when only position using ticks 1`] = `19857922`;
2222

23-
exports[`UniswapV3Pool gas tests fee is off #burn below current price entire position burn but other positions are using the ticks 1`] = `25164350`;
23+
exports[`UniswapV3Pool gas tests fee is off #burn below current price entire position burn but other positions are using the ticks 1`] = `25172150`;
2424

25-
exports[`UniswapV3Pool gas tests fee is off #burn below current price partial position burn 1`] = `26193002`;
25+
exports[`UniswapV3Pool gas tests fee is off #burn below current price partial position burn 1`] = `26200802`;
2626

27-
exports[`UniswapV3Pool gas tests fee is off #collect close to worst case 1`] = `26003938`;
27+
exports[`UniswapV3Pool gas tests fee is off #increaseObservationCardinalityNext grow by 1 slot 1`] = `12400976`;
2828

29-
exports[`UniswapV3Pool gas tests fee is off #increaseObservationCardinalityNext grow by 1 slot 1`] = `12393176`;
29+
exports[`UniswapV3Pool gas tests fee is off #increaseObservationCardinalityNext no op 1`] = `12079271`;
3030

31-
exports[`UniswapV3Pool gas tests fee is off #increaseObservationCardinalityNext no op 1`] = `12071471`;
32-
33-
exports[`UniswapV3Pool gas tests fee is off #mint above current price add to position after some time passes 1`] = `52116468`;
34-
35-
exports[`UniswapV3Pool gas tests fee is off #mint above current price add to position existing 1`] = `52116476`;
36-
37-
exports[`UniswapV3Pool gas tests fee is off #mint above current price new position mint first in range 1`] = `51211300`;
38-
39-
exports[`UniswapV3Pool gas tests fee is off #mint above current price second position in same range 1`] = `51065974`;
40-
41-
exports[`UniswapV3Pool gas tests fee is off #mint around current price add to position after some time passes 1`] = `71287156`;
42-
43-
exports[`UniswapV3Pool gas tests fee is off #mint around current price add to position existing 1`] = `69663679`;
44-
45-
exports[`UniswapV3Pool gas tests fee is off #mint around current price new position mint first in range 1`] = `72662639`;
46-
47-
exports[`UniswapV3Pool gas tests fee is off #mint around current price second position in same range 1`] = `71084236`;
48-
49-
exports[`UniswapV3Pool gas tests fee is off #mint below current price add to position after some time passes 1`] = `54765033`;
50-
51-
exports[`UniswapV3Pool gas tests fee is off #mint below current price add to position existing 1`] = `54765025`;
52-
53-
exports[`UniswapV3Pool gas tests fee is off #mint below current price new position mint first in range 1`] = `56677646`;
54-
55-
exports[`UniswapV3Pool gas tests fee is off #mint below current price second position in same range 1`] = `56165118`;
56-
57-
exports[`UniswapV3Pool gas tests fee is off #poke best case 1`] = `16187615`;
31+
exports[`UniswapV3Pool gas tests fee is off #poke best case 1`] = `16195415`;
5832

5933
exports[`UniswapV3Pool gas tests fee is off #snapshotCumulativesInside tick above 1`] = `7989545`;
6034

6135
exports[`UniswapV3Pool gas tests fee is off #snapshotCumulativesInside tick below 1`] = `7973282`;
6236

6337
exports[`UniswapV3Pool gas tests fee is off #snapshotCumulativesInside tick inside 1`] = `8998713`;
6438

65-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 first swap in block moves tick, no initialized crossings 1`] = `53483959`;
66-
67-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 first swap in block with no tick movement 1`] = `50316071`;
68-
69-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 first swap in block, large swap crossing a single initialized tick 1`] = `61597122`;
70-
71-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 first swap in block, large swap crossing several initialized ticks 1`] = `79419521`;
72-
73-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 first swap in block, large swap, no initialized crossings 1`] = `56262835`;
74-
75-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 large swap crossing several initialized ticks after some time passes 1`] = `79416113`;
76-
77-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 large swap crossing several initialized ticks second time after some time passes 1`] = `83477217`;
78-
79-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 second swap in block moves tick, no initialized crossings 1`] = `53482111`;
80-
81-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 second swap in block with no tick movement 1`] = `50395011`;
82-
83-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 second swap in block, large swap crossing a single initialized tick 1`] = `58976744`;
84-
85-
exports[`UniswapV3Pool gas tests fee is off #swapExact0For1 second swap in block, large swap crossing several initialized ticks 1`] = `76780019`;
86-
87-
exports[`UniswapV3Pool gas tests fee is on #burn above current price burn entire position after some time passes 1`] = `19047578`;
39+
exports[`UniswapV3Pool gas tests fee is on #burn above current price burn entire position after some time passes 1`] = `19055378`;
8840

89-
exports[`UniswapV3Pool gas tests fee is on #burn above current price burn when only position using ticks 1`] = `19047578`;
41+
exports[`UniswapV3Pool gas tests fee is on #burn above current price burn when only position using ticks 1`] = `19055378`;
9042

91-
exports[`UniswapV3Pool gas tests fee is on #burn above current price entire position burn but other positions are using the ticks 1`] = `22705043`;
43+
exports[`UniswapV3Pool gas tests fee is on #burn above current price entire position burn but other positions are using the ticks 1`] = `22712843`;
9244

93-
exports[`UniswapV3Pool gas tests fee is on #burn above current price partial position burn 1`] = `23713962`;
45+
exports[`UniswapV3Pool gas tests fee is on #burn above current price partial position burn 1`] = `23721762`;
9446

95-
exports[`UniswapV3Pool gas tests fee is on #burn around current price burn entire position after some time passes 1`] = `21697432`;
47+
exports[`UniswapV3Pool gas tests fee is on #burn around current price burn entire position after some time passes 1`] = `21705232`;
9648

97-
exports[`UniswapV3Pool gas tests fee is on #burn around current price burn when only position using ticks 1`] = `20056623`;
49+
exports[`UniswapV3Pool gas tests fee is on #burn around current price burn when only position using ticks 1`] = `20064423`;
9850

99-
exports[`UniswapV3Pool gas tests fee is on #burn around current price entire position burn but other positions are using the ticks 1`] = `23775590`;
51+
exports[`UniswapV3Pool gas tests fee is on #burn around current price entire position burn but other positions are using the ticks 1`] = `23783390`;
10052

101-
exports[`UniswapV3Pool gas tests fee is on #burn around current price partial position burn 1`] = `24956684`;
53+
exports[`UniswapV3Pool gas tests fee is on #burn around current price partial position burn 1`] = `24964484`;
10254

103-
exports[`UniswapV3Pool gas tests fee is on #burn below current price burn entire position after some time passes 1`] = `20223043`;
55+
exports[`UniswapV3Pool gas tests fee is on #burn below current price burn entire position after some time passes 1`] = `20230843`;
10456

105-
exports[`UniswapV3Pool gas tests fee is on #burn below current price burn when only position using ticks 1`] = `20223043`;
57+
exports[`UniswapV3Pool gas tests fee is on #burn below current price burn when only position using ticks 1`] = `20230843`;
10658

107-
exports[`UniswapV3Pool gas tests fee is on #burn below current price entire position burn but other positions are using the ticks 1`] = `25545776`;
59+
exports[`UniswapV3Pool gas tests fee is on #burn below current price entire position burn but other positions are using the ticks 1`] = `25553576`;
10860

109-
exports[`UniswapV3Pool gas tests fee is on #burn below current price partial position burn 1`] = `26573044`;
61+
exports[`UniswapV3Pool gas tests fee is on #burn below current price partial position burn 1`] = `26580844`;
11062

111-
exports[`UniswapV3Pool gas tests fee is on #collect close to worst case 1`] = `26189507`;
63+
exports[`UniswapV3Pool gas tests fee is on #increaseObservationCardinalityNext grow by 1 slot 1`] = `12499405`;
11264

113-
exports[`UniswapV3Pool gas tests fee is on #increaseObservationCardinalityNext grow by 1 slot 1`] = `12491605`;
65+
exports[`UniswapV3Pool gas tests fee is on #increaseObservationCardinalityNext no op 1`] = `12177648`;
11466

115-
exports[`UniswapV3Pool gas tests fee is on #increaseObservationCardinalityNext no op 1`] = `12169848`;
116-
117-
exports[`UniswapV3Pool gas tests fee is on #mint above current price add to position after some time passes 1`] = `52599653`;
118-
119-
exports[`UniswapV3Pool gas tests fee is on #mint above current price add to position existing 1`] = `52599653`;
120-
121-
exports[`UniswapV3Pool gas tests fee is on #mint above current price new position mint first in range 1`] = `51697085`;
122-
123-
exports[`UniswapV3Pool gas tests fee is on #mint above current price second position in same range 1`] = `51502371`;
124-
125-
exports[`UniswapV3Pool gas tests fee is on #mint around current price add to position after some time passes 1`] = `71808417`;
126-
127-
exports[`UniswapV3Pool gas tests fee is on #mint around current price add to position existing 1`] = `70184460`;
128-
129-
exports[`UniswapV3Pool gas tests fee is on #mint around current price new position mint first in range 1`] = `73128676`;
130-
131-
exports[`UniswapV3Pool gas tests fee is on #mint around current price second position in same range 1`] = `71609184`;
132-
133-
exports[`UniswapV3Pool gas tests fee is on #mint below current price add to position after some time passes 1`] = `55247718`;
134-
135-
exports[`UniswapV3Pool gas tests fee is on #mint below current price add to position existing 1`] = `56768952`;
136-
137-
exports[`UniswapV3Pool gas tests fee is on #mint below current price new position mint first in range 1`] = `57160723`;
138-
139-
exports[`UniswapV3Pool gas tests fee is on #mint below current price second position in same range 1`] = `55656354`;
140-
141-
exports[`UniswapV3Pool gas tests fee is on #poke best case 1`] = `16576828`;
67+
exports[`UniswapV3Pool gas tests fee is on #poke best case 1`] = `16584628`;
14268

14369
exports[`UniswapV3Pool gas tests fee is on #snapshotCumulativesInside tick above 1`] = `8001641`;
14470

14571
exports[`UniswapV3Pool gas tests fee is on #snapshotCumulativesInside tick below 1`] = `7985822`;
14672

14773
exports[`UniswapV3Pool gas tests fee is on #snapshotCumulativesInside tick inside 1`] = `9003113`;
148-
149-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 first swap in block moves tick, no initialized crossings 1`] = `57457430`;
150-
151-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 first swap in block with no tick movement 1`] = `51776666`;
152-
153-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 first swap in block, large swap crossing a single initialized tick 1`] = `63169833`;
154-
155-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 first swap in block, large swap crossing several initialized ticks 1`] = `81109114`;
156-
157-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 first swap in block, large swap, no initialized crossings 1`] = `57810521`;
158-
159-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 large swap crossing several initialized ticks after some time passes 1`] = `81105722`;
160-
161-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 large swap crossing several initialized ticks second time after some time passes 1`] = `85140653`;
162-
163-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 second swap in block moves tick, no initialized crossings 1`] = `54938994`;
164-
165-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 second swap in block with no tick movement 1`] = `51855622`;
166-
167-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 second swap in block, large swap crossing a single initialized tick 1`] = `60531544`;
168-
169-
exports[`UniswapV3Pool gas tests fee is on #swapExact0For1 second swap in block, large swap crossing several initialized ticks 1`] = `78447872`;

0 commit comments

Comments
 (0)