Skip to content

Commit

Permalink
Update src/gasPriceOracle/adapters/linea-viem.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Paul <[email protected]>
  • Loading branch information
nicholaspai and pxrl authored Dec 26, 2024
1 parent e16f9fe commit cf9a867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gasPriceOracle/adapters/linea-viem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PopulatedTransaction } from "ethers";

/**
* @notice The Linea viem provider calls the linea_estimateGas RPC endpoint to estimate gas. Linea is unique
* in that the recommended fee per gas is hardcoded to 7 gwei while the priority fee is dynamic based on the
* in that the recommended fee per gas is hardcoded to 7 wei while the priority fee is dynamic based on the
* compressed transaction size, layer 1 verification costs and capacity, gas price ratio between layer 1 and layer 2,
* the transaction's gas usage, the minimum gas price on layer 2,
* and a minimum margin (for error) for gas price estimation.
Expand Down

0 comments on commit cf9a867

Please sign in to comment.