Skip to content

Commit

Permalink
Merge branch 'main' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc committed Jul 17, 2024
2 parents 4fa580f + 27c5b6d commit d98f704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/message/ParentToChildMessageGasEstimator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export class ParentToChildMessageGasEstimator {
): Promise<ParentToChildMessageGasParams['maxFeePerGas']> {
const maxFeePerGasDefaults = this.applyMaxFeePerGasDefaults(options)

// estimate the l2 gas price
// estimate the child gas price
return this.percentIncrease(
maxFeePerGasDefaults.base || (await this.childProvider.getGasPrice()),
maxFeePerGasDefaults.percentIncrease
Expand Down Expand Up @@ -226,7 +226,7 @@ export class ParentToChildMessageGasEstimator {
const { data } = retryableEstimateData
const gasLimitDefaults = this.applyGasLimitDefaults(options?.gasLimit)

// estimate the parent chain gas price
// estimate the child gas price
const maxFeePerGasPromise = this.estimateMaxFeePerGas(options?.maxFeePerGas)

// estimate the submission fee
Expand Down

0 comments on commit d98f704

Please sign in to comment.