Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
4f1e8a70
Unverified
Commit
4f1e8a70
authored
Sep 25, 2024
by
zhiqiangxu
Committed by
GitHub
Sep 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused function (#12087)
parent
decf4513
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
Predeploys.t.sol
packages/contracts-bedrock/test/Predeploys.t.sol
+0
-7
No files found.
packages/contracts-bedrock/test/Predeploys.t.sol
View file @
4f1e8a70
...
@@ -12,13 +12,6 @@ contract PredeploysBaseTest is CommonTest {
...
@@ -12,13 +12,6 @@ contract PredeploysBaseTest is CommonTest {
/// Internal helpers
/// 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.
/// @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) {
function _interopCodeDiffer(address _addr) internal pure returns (bool) {
return _addr == Predeploys.L1_BLOCK_ATTRIBUTES || _addr == Predeploys.L2_STANDARD_BRIDGE;
return _addr == Predeploys.L1_BLOCK_ATTRIBUTES || _addr == Predeploys.L2_STANDARD_BRIDGE;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment