Commit 4f1e8a70 authored by zhiqiangxu's avatar zhiqiangxu Committed by GitHub

remove unused function (#12087)

parent decf4513
......@@ -12,13 +12,6 @@ contract PredeploysBaseTest is CommonTest {
/// Internal helpers
//////////////////////////////////////////////////////
/// @dev Returns true if the address is an interop predeploy.
function _isInterop(address _addr) internal pure returns (bool) {
return _addr == Predeploys.CROSS_L2_INBOX || _addr == Predeploys.L2_TO_L2_CROSS_DOMAIN_MESSENGER
|| _addr == Predeploys.SUPERCHAIN_WETH || _addr == Predeploys.ETH_LIQUIDITY
|| _addr == Predeploys.OPTIMISM_SUPERCHAIN_ERC20_FACTORY || _addr == Predeploys.OPTIMISM_SUPERCHAIN_ERC20_BEACON;
}
/// @dev Returns true if the address is a predeploy that has a different code in the interop mode.
function _interopCodeDiffer(address _addr) internal pure returns (bool) {
return _addr == Predeploys.L1_BLOCK_ATTRIBUTES || _addr == Predeploys.L2_STANDARD_BRIDGE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment