diff --git a/packages/protocol/contracts/libs/LibBlockHeader.sol b/packages/protocol/contracts/libs/LibBlockHeader.sol index cc5269dc59c..3b733e41fe4 100644 --- a/packages/protocol/contracts/libs/LibBlockHeader.sol +++ b/packages/protocol/contracts/libs/LibBlockHeader.sol @@ -45,10 +45,10 @@ library LibBlockHeader { uint256 extraCapacity ) internal pure returns (bytes[] memory list) { if (header.baseFeePerGas == 0) { - // non-EIP11559 transaction + // non-EIP-1559 transaction list = new bytes[](15 + extraCapacity); } else { - // EIP1159 transaction + // EIP-1559 transaction list = new bytes[](16 + extraCapacity); } list[0] = LibRLPWriter.writeHash(header.parentHash); @@ -69,7 +69,7 @@ library LibBlockHeader { // as [8]byte when hashing the block. list[14] = LibRLPWriter.writeBytes(abi.encodePacked(header.nonce)); if (header.baseFeePerGas != 0) { - // non-EIP11559 transaction + // EIP-1559 transaction list[15] = LibRLPWriter.writeUint(header.baseFeePerGas); } }