@@ -257,7 +257,7 @@ describe("Test TradeSimulatorBase", () => {
257257 Result . err ( setTransactionDataError ) ,
258258 ) ;
259259 const headroom = BigInt (
260- ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 100.75 ) . toFixed ( ) ,
260+ ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 102.5 ) . toFixed ( ) ,
261261 ) ;
262262
263263 const result = await mockSimulator . trySimulateTrade ( ) ;
@@ -326,7 +326,7 @@ describe("Test TradeSimulatorBase", () => {
326326 } ;
327327 ( dryrun as Mock ) . mockResolvedValueOnce ( Result . err ( dryrunError ) ) ;
328328 const headroom = BigInt (
329- ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 100.75 ) . toFixed ( ) ,
329+ ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 102.5 ) . toFixed ( ) ,
330330 ) ;
331331
332332 const result = await mockSimulator . trySimulateTrade ( ) ;
@@ -410,7 +410,7 @@ describe("Test TradeSimulatorBase", () => {
410410 . mockResolvedValueOnce ( Result . ok ( dryrunResult ) )
411411 . mockResolvedValueOnce ( Result . ok ( dryrunResult2 ) ) ;
412412 const headroom = BigInt (
413- ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 100.75 ) . toFixed ( ) ,
413+ ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 102.5 ) . toFixed ( ) ,
414414 ) ;
415415 // last call to setTransactionData fails
416416 const setTransactionDataError = {
@@ -525,7 +525,7 @@ describe("Test TradeSimulatorBase", () => {
525525 . mockResolvedValueOnce ( Result . ok ( dryrunResult ) )
526526 . mockResolvedValueOnce ( Result . ok ( dryrunResult2 ) ) ;
527527 const headroom = BigInt (
528- ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 100.75 ) . toFixed ( ) ,
528+ ( Number ( mockSolver . appOptions . gasCoveragePercentage ) * 102.5 ) . toFixed ( ) ,
529529 ) ;
530530 const profitEstimate = 1234n ;
531531 ( mockSimulator . estimateProfit as Mock ) . mockReturnValueOnce ( profitEstimate ) ;
0 commit comments