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
78e0b0eb
Unverified
Commit
78e0b0eb
authored
Sep 29, 2023
by
OptimismBot
Committed by
GitHub
Sep 29, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7479 from AKABABA-ETH/contract
contract-bedrock: fix typos
parents
c150ccd4
854d104e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Deployer.sol
packages/contracts-bedrock/scripts/Deployer.sol
+3
-3
No files found.
packages/contracts-bedrock/scripts/Deployer.sol
View file @
78e0b0eb
...
@@ -178,7 +178,7 @@ abstract contract Deployer is Script {
...
@@ -178,7 +178,7 @@ abstract contract Deployer is Script {
if (existing.addr != address(0)) {
if (existing.addr != address(0)) {
return bytes(existing.name).length > 0;
return bytes(existing.name).length > 0;
}
}
return _getExistingDeploymentAdress(_name) != address(0);
return _getExistingDeploymentAd
d
ress(_name) != address(0);
}
}
/// @notice Returns the address of a deployment.
/// @notice Returns the address of a deployment.
...
@@ -193,7 +193,7 @@ abstract contract Deployer is Script {
...
@@ -193,7 +193,7 @@ abstract contract Deployer is Script {
}
}
return existing.addr;
return existing.addr;
}
}
return _getExistingDeploymentAdress(_name);
return _getExistingDeploymentAd
d
ress(_name);
}
}
/// @notice Returns the address of a deployment and reverts if the deployment
/// @notice Returns the address of a deployment and reverts if the deployment
...
@@ -481,7 +481,7 @@ abstract contract Deployer is Script {
...
@@ -481,7 +481,7 @@ abstract contract Deployer is Script {
/// @notice Reads the artifact from the filesystem by name and returns the address.
/// @notice Reads the artifact from the filesystem by name and returns the address.
/// @param _name The name of the artifact to read.
/// @param _name The name of the artifact to read.
/// @return The address of the artifact.
/// @return The address of the artifact.
function _getExistingDeploymentAdress(string memory _name) internal view returns (address payable) {
function _getExistingDeploymentAd
d
ress(string memory _name) internal view returns (address payable) {
return _getExistingDeployment(_name).addr;
return _getExistingDeployment(_name).addr;
}
}
...
...
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