You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// @notice Retrieves the current blob base fee./// @return Current blob base fee.function blobBaseFee() publicviewreturns (uint256) {
returnL1Block(Predeploys.L1_BLOCK_ATTRIBUTES).blobBaseFee();
}
/// @notice Retrieves the current base fee scalar./// @return Current base fee scalar.function baseFeeScalar() publicviewreturns (uint32) {
returnL1Block(Predeploys.L1_BLOCK_ATTRIBUTES).baseFeeScalar();
}
/// @notice Retrieves the current blob base fee scalar./// @return Current blob base fee scalar.function blobBaseFeeScalar() publicviewreturns (uint32) {
returnL1Block(Predeploys.L1_BLOCK_ATTRIBUTES).blobBaseFeeScalar();
}
The text was updated successfully, but these errors were encountered:
PR open for this in #213 but
blobBaseFee
(necessary to calculate the cost) isn't available from any endpoints yet.hardhat-gas-reporter/src/utils/gas.ts
Lines 97 to 105 in 16fde03
A stopgap is to read this off the GasOracle they published yesterday at 0xb528d11cc114e026f138fe568744c6d45ce6da7a on L2
Will have to generate the ABI - it hasn't been verified on the scan. And call with an Alchemy or Infura key.
Source
The text was updated successfully, but these errors were encountered: