Skip to content

Commit

Permalink
feat(protocol): make TaikoL2Deprecated ABI go-ethereum compatible (#…
Browse files Browse the repository at this point in the history
…18659)

Co-authored-by: Daniel Wang <[email protected]>
  • Loading branch information
davidtaikocha and dantaik authored Dec 27, 2024
1 parent 8d2cca1 commit 05594cf
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions packages/protocol/contracts/layer2/based/TaikoL2Deprecated.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,45 +16,45 @@ abstract contract TaikoL2Deprecated {
}

function anchor(
bytes32, /*_l1BlockHash*/
bytes32, /*_l1StateRoot*/
uint64, /*_l1BlockId*/
uint32 /*_parentGasUsed */
bytes32 _l1BlockHash,
bytes32 _l1StateRoot,
uint64 _l1BlockId,
uint32 _parentGasUsed
)
external
deprecated
{ }

function getBasefee(
uint64, /*_anchorBlockId*/
uint32 /*_parentGasUsed*/
uint64 _anchorBlockId,
uint32 _parentGasUsed
)
public
pure
deprecated
returns (uint256, /*basefee_*/ uint64 /*parentGasExcess_*/ )
returns (uint256 basefee_, uint64 parentGasExcess_)
{ }

function adjustExcess(
uint64, /*_currGasExcess*/
uint64, /*_currGasTarget*/
uint64 /*_newGasTarget*/
uint64 _currGasExcess,
uint64 _currGasTarget,
uint64 _newGasTarget
)
public
pure
deprecated
returns (uint64 /*newGasExcess_*/ )
returns (uint64 newGasExcess_)
{ }

function calculateBaseFee(
LibSharedData.BaseFeeConfig calldata, /*_baseFeeConfig*/
uint64, /*_blocktime*/
uint64, /*_parentGasExcess*/
uint32 /*_parentGasUsed*/
LibSharedData.BaseFeeConfig calldata _baseFeeConfig,
uint64 _blocktime,
uint64 _parentGasExcess,
uint32 _parentGasUsed
)
public
pure
deprecated
returns (uint256, /*basefee_*/ uint64 /*parentGasExcess_*/ )
returns (uint256 basefee_, uint64 parentGasExcess_)
{ }
}

0 comments on commit 05594cf

Please sign in to comment.