@@ -139,68 +139,69 @@ StablePairGas:testGasSwap_UpdateOracleClamped() (gas: 107982)
139
139
StablePairTest:testAttackWhileRampingDown_LongInterval() (gas: 202253)
140
140
StablePairTest:testAttackWhileRampingDown_ShortInterval() (gas: 201772)
141
141
StablePairTest:testBurn() (gas: 144781)
142
- StablePairTest:testBurn_DiffDecimalPlaces(uint256) (runs: 256, μ: 5264413 , ~: 5263944)
143
- StablePairTest:testBurn_LastInvariantUseReserveInsteadOfBalance() (gas: 243486 )
142
+ StablePairTest:testBurn_DiffDecimalPlaces(uint256) (runs: 256, μ: 5264425 , ~: 5263944)
143
+ StablePairTest:testBurn_LastInvariantUseReserveInsteadOfBalance() (gas: 243508 )
144
144
StablePairTest:testBurn_Reenter() (gas: 54451)
145
- StablePairTest:testBurn_WhenRampingA(uint256,uint32) (runs: 256, μ: 401449, ~: 401608)
145
+ StablePairTest:testBurn_SucceedEvenIfMintFeeReverts() (gas: 149117)
146
+ StablePairTest:testBurn_WhenRampingA(uint256,uint32) (runs: 256, μ: 401448, ~: 401608)
146
147
StablePairTest:testBurn_Zero() (gas: 81721)
147
148
StablePairTest:testFactoryAmpTooHigh() (gas: 339313)
148
- StablePairTest:testFactoryAmpTooLow() (gas: 334314 )
149
+ StablePairTest:testFactoryAmpTooLow() (gas: 334291 )
149
150
StablePairTest:testGetCurrentA() (gas: 32235)
150
151
StablePairTest:testMint() (gas: 114452)
151
152
StablePairTest:testMintFee_CallableBySelf() (gas: 21187)
152
- StablePairTest:testMintFee_DiffPlatformFees(uint256) (runs: 256, μ: 6495166 , ~: 6499127)
153
+ StablePairTest:testMintFee_DiffPlatformFees(uint256) (runs: 256, μ: 6495177 , ~: 6499127)
153
154
StablePairTest:testMintFee_NotCallableByOthers() (gas: 11708)
154
- StablePairTest:testMintFee_WhenRampingA_PoolBalanced(uint256) (runs: 256, μ: 6657136 , ~: 6657299)
155
+ StablePairTest:testMintFee_WhenRampingA_PoolBalanced(uint256) (runs: 256, μ: 6657123 , ~: 6657299)
155
156
StablePairTest:testMintFee_WhenRampingA_PoolUnbalanced(uint256) (runs: 256, μ: 6111654, ~: 6111247)
156
157
StablePairTest:testMint_CalculationOverflowInStableMath() (gas: 5097126)
157
158
StablePairTest:testMint_NonOptimalProportion() (gas: 147613)
158
159
StablePairTest:testMint_NonOptimalProportion_ThenBurn() (gas: 307081)
159
160
StablePairTest:testMint_OnlyTransferOneToken() (gas: 5035039)
160
161
StablePairTest:testMint_PlatformFeeOff() (gas: 118997)
161
162
StablePairTest:testMint_Reenter() (gas: 54285)
162
- StablePairTest:testMint_WhenRampingA(uint256,uint32) (runs: 256, μ: 418593 , ~: 418754)
163
+ StablePairTest:testMint_WhenRampingA(uint256,uint32) (runs: 256, μ: 418606 , ~: 418754)
163
164
StablePairTest:testOracle_ClampedPrice_NoDiffWithinLimit() (gas: 201094)
164
- StablePairTest:testOracle_CorrectLiquidity(uint32) (runs: 256, μ: 5418463 , ~: 5418464 )
165
+ StablePairTest:testOracle_CorrectLiquidity(uint32) (runs: 256, μ: 5418422 , ~: 5418423 )
165
166
StablePairTest:testOracle_CorrectPrice(uint32) (runs: 256, μ: 5444442, ~: 5444443)
166
167
StablePairTest:testOracle_LiquidityAtMaximum() (gas: 231495)
167
168
StablePairTest:testOracle_NoWriteInSameTimestamp() (gas: 219323)
168
169
StablePairTest:testOracle_OverflowAccLiquidity(uint32) (runs: 256, μ: 114162, ~: 114162)
169
- StablePairTest:testOracle_OverflowAccPrice(uint32) (runs: 256, μ: 208700 , ~: 211139 )
170
- StablePairTest:testOracle_SimplePrices(uint32) (runs: 256, μ: 5447317 , ~: 5447318 )
171
- StablePairTest:testOracle_WrapsAroundAfterFull() (gas: 4115323872 )
170
+ StablePairTest:testOracle_OverflowAccPrice(uint32) (runs: 256, μ: 208465 , ~: 211161 )
171
+ StablePairTest:testOracle_SimplePrices(uint32) (runs: 256, μ: 5447273 , ~: 5447274 )
172
+ StablePairTest:testOracle_WrapsAroundAfterFull() (gas: 4115323894 )
172
173
StablePairTest:testPlatformFee_Disable() (gas: 334025)
173
174
StablePairTest:testPlatformFee_DisableReenable() (gas: 541852)
174
175
StablePairTest:testRampA() (gas: 32386)
175
176
StablePairTest:testRampA_BreachMaxSpeed() (gas: 24171)
176
- StablePairTest:testRampA_BreachMaxSpeed_Halve() (gas: 24167 )
177
+ StablePairTest:testRampA_BreachMaxSpeed_Halve() (gas: 24189 )
177
178
StablePairTest:testRampA_BreachMaximum() (gas: 20134)
178
- StablePairTest:testRampA_BreachMinimum() (gas: 20071 )
179
+ StablePairTest:testRampA_BreachMinimum() (gas: 20093 )
179
180
StablePairTest:testRampA_MaxSpeed_Double() (gas: 26343)
180
181
StablePairTest:testRampA_MaxSpeed_Halve() (gas: 26317)
181
182
StablePairTest:testRampA_OnlyFactory() (gas: 8756)
182
183
StablePairTest:testRampA_SetAtMaximum() (gas: 25006)
183
184
StablePairTest:testRampA_SetAtMinimum() (gas: 25006)
184
- StablePairTest:testRampA_SwappingDuringRampingDown(uint256,uint256,uint256,uint256) (runs: 256, μ: 502707 , ~: 507438 )
185
- StablePairTest:testRampA_SwappingDuringRampingUp(uint256,uint256,uint256,uint256) (runs: 256, μ: 502603 , ~: 506999 )
185
+ StablePairTest:testRampA_SwappingDuringRampingDown(uint256,uint256,uint256,uint256) (runs: 256, μ: 502999 , ~: 510102 )
186
+ StablePairTest:testRampA_SwappingDuringRampingUp(uint256,uint256,uint256,uint256) (runs: 256, μ: 502585 , ~: 506997 )
186
187
StablePairTest:testStopRampA() (gas: 33691)
187
- StablePairTest:testStopRampA_Early(uint256,uint32) (runs: 256, μ: 42074 , ~: 42192 )
188
- StablePairTest:testStopRampA_Late(uint256) (runs: 256, μ: 40606 , ~: 40713)
188
+ StablePairTest:testStopRampA_Early(uint256,uint32) (runs: 256, μ: 42085 , ~: 42316 )
189
+ StablePairTest:testStopRampA_Late(uint256) (runs: 256, μ: 40587 , ~: 40713)
189
190
StablePairTest:testStopRampA_OnlyFactory() (gas: 8449)
190
- StablePairTest:testSwap() (gas: 86842 )
191
- StablePairTest:testSwap_BetterPerformanceThanConstantProduct() (gas: 127999 )
192
- StablePairTest:testSwap_DiffAs(uint256,uint256,uint256) (runs: 256, μ: 5277402 , ~: 5277796 )
193
- StablePairTest:testSwap_DiffSwapFees(uint256) (runs: 256, μ: 5278759 , ~: 5281125)
191
+ StablePairTest:testSwap() (gas: 86798 )
192
+ StablePairTest:testSwap_BetterPerformanceThanConstantProduct() (gas: 128021 )
193
+ StablePairTest:testSwap_DiffAs(uint256,uint256,uint256) (runs: 256, μ: 5277639 , ~: 5277909 )
194
+ StablePairTest:testSwap_DiffSwapFees(uint256) (runs: 256, μ: 5278754 , ~: 5281125)
194
195
StablePairTest:testSwap_ExactInExceedUint104() (gas: 79097)
195
196
StablePairTest:testSwap_ExactOutExceedReserves() (gas: 40972)
196
- StablePairTest:testSwap_IncreasingSwapFees(uint256,uint256,uint256) (runs: 256, μ: 300492 , ~: 300422 )
197
+ StablePairTest:testSwap_IncreasingSwapFees(uint256,uint256,uint256) (runs: 256, μ: 300530 , ~: 300568 )
197
198
StablePairTest:testSwap_MinInt256() (gas: 21226)
198
199
StablePairTest:testSwap_Reenter() (gas: 89641)
199
- StablePairTest:testSwap_Token0ExactOut(uint256) (runs: 256, μ: 119025 , ~: 108190 )
200
- StablePairTest:testSwap_Token1ExactOut(uint256) (runs: 256, μ: 119760 , ~: 126986 )
201
- StablePairTest:testSwap_VeryLargeLiquidity(uint256) (runs: 256, μ: 5248681 , ~: 5247972)
202
- StablePairTest:testSwap_VerySmallLiquidity(uint256,uint256,uint256) (runs: 256, μ: 5246856 , ~: 5246398)
203
- StablePairTest:testSwap_ZeroInput() (gas: 14398 )
200
+ StablePairTest:testSwap_Token0ExactOut(uint256) (runs: 256, μ: 119157 , ~: 108147 )
201
+ StablePairTest:testSwap_Token1ExactOut(uint256) (runs: 256, μ: 118596 , ~: 108227 )
202
+ StablePairTest:testSwap_VeryLargeLiquidity(uint256) (runs: 256, μ: 5248689 , ~: 5247972)
203
+ StablePairTest:testSwap_VerySmallLiquidity(uint256,uint256,uint256) (runs: 256, μ: 5246806 , ~: 5246398)
204
+ StablePairTest:testSwap_ZeroInput() (gas: 14375 )
204
205
StablePairTest:testWriteObservations() (gas: 240645)
205
206
StdMathTest:testPercentDelta() (gas: 578)
206
207
StdMathTest:testPercentDelta_MinusOne() (gas: 601)
0 commit comments