diff --git a/packages/protocol/contracts/L2/TaikoL2.sol b/packages/protocol/contracts/L2/TaikoL2.sol index 73d2a0264d3..498cf07143b 100644 --- a/packages/protocol/contracts/L2/TaikoL2.sol +++ b/packages/protocol/contracts/L2/TaikoL2.sol @@ -106,17 +106,6 @@ contract TaikoL2 is EssentialContract { (publicInputHash,) = _calcPublicInputHash(block.number); } - /// @dev Reinitialize some state variables. - /// We may want to init the basefee to a default value using one of the following values. - /// - _initialGasExcess = 274*5_000_000 => basefee =0.01 gwei - /// - _initialGasExcess = 282*5_000_000 => basefee =0.05 gwei - /// - _initialGasExcess = 288*5_000_000 => basefee =0.1 gwei - function init2(uint64 _initialGasExcess) external onlyOwner reinitializer(2) { - parentGasExcess = _initialGasExcess; - parentTimestamp = uint64(block.timestamp); - parentGasTarget = 0; - } - /// @notice Anchors the latest L1 block details to L2 for cross-layer /// message verification. /// @dev This function can be called freely as the golden touch private key is publicly known,