diff --git a/packages/protocol/contracts/L1/TaikoData.sol b/packages/protocol/contracts/L1/TaikoData.sol index 0d02d7de90d..ce6dd7a3c2d 100644 --- a/packages/protocol/contracts/L1/TaikoData.sol +++ b/packages/protocol/contracts/L1/TaikoData.sol @@ -41,11 +41,10 @@ library TaikoData { uint64 numEthDeposits; } - // 3 slots + // 2 slots struct BlockMetadataInput { bytes32 txListHash; address beneficiary; - uint32 gasLimit; uint24 txListByteStart; // byte-wise start index (inclusive) uint24 txListByteEnd; // byte-wise end index (exclusive) uint8 cacheTxListInfo; // non-zero = True diff --git a/packages/protocol/contracts/L1/libs/LibProposing.sol b/packages/protocol/contracts/L1/libs/LibProposing.sol index 349553d9d3c..e179ca516ab 100644 --- a/packages/protocol/contracts/L1/libs/LibProposing.sol +++ b/packages/protocol/contracts/L1/libs/LibProposing.sol @@ -119,11 +119,7 @@ library LibProposing { view returns (uint8 cacheTxListInfo) { - if ( - input.beneficiary == address(0) - // - || input.gasLimit == 0 - ) revert L1_INVALID_METADATA(); + if (input.beneficiary == address(0)) revert L1_INVALID_METADATA(); if ( state.numBlocks