Expand description
This module contains the L1 block fee calculation function.
Constantsยง
- NON_
ZERO_ ๐BYTE_ COST - ZERO_
BYTE_ ๐COST Cost per byte in calldata
Functionsยง
- Calculate the gas cost of a transaction based on L1 block data posted on L2 post-bedrock.
- Calculate the gas cost of a transaction based on L1 block data posted on L2, post-Ecotone.
- Calculate the gas cost of a transaction based on L1 block data posted on L2, post-Fjord.
- Calculate the gas cost of a transaction based on L1 block data posted on L2 post-regolith.
- Calculate the data gas for posting the transaction on L1.
- Calculate the data gas for posting the transaction on L1.
- Calculate the data gas for posting the transaction on L1.