Skip to content

Commit

Permalink
Merge pull request #88 from pimlicolabs/tempfix/gas-multiple
Browse files Browse the repository at this point in the history
2x gasprice for linea-testnet
  • Loading branch information
mouseless0x authored Jan 18, 2024
2 parents bc99031 + 0125c93 commit 842aa8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/utils/src/gasPrice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ export async function getGasPrice(
maxPriorityFeePerGas = gasPrice
}

if (chainId === chains.lineaTestnet.id) {
gasPrice *= 2n
}

return {
maxFeePerGas: gasPrice,
maxPriorityFeePerGas
Expand Down

0 comments on commit 842aa8a

Please sign in to comment.