Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Nov 6, 2024
1 parent 47d187a commit 5d9db3f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/handlers/mantleGasPriceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ export class MantleManager {
private rollupDataGasAndOverheadQueue: TimedQueue
private l1GasPriceQueue: TimedQueue

constructor(maxQueueSize: number) {
const queueValidity = 15_000
this.tokenRatioQueue = new TimedQueue(maxQueueSize, queueValidity)
this.scalarQueue = new TimedQueue(maxQueueSize, queueValidity)
this.rollupDataGasAndOverheadQueue = new TimedQueue(
maxQueueSize,
queueValidity
)
this.l1GasPriceQueue = new TimedQueue(maxQueueSize, queueValidity)
constructor(queueValidity: number) {
this.tokenRatioQueue = new TimedQueue(queueValidity)
this.scalarQueue = new TimedQueue(queueValidity)
this.rollupDataGasAndOverheadQueue = new TimedQueue(queueValidity)
this.l1GasPriceQueue = new TimedQueue(queueValidity)
}

public getMinMantleOracleValues() {
Expand Down

0 comments on commit 5d9db3f

Please sign in to comment.