Commit 330b2ee2 authored by AKABABA-ETH's avatar AKABABA-ETH Committed by GitHub

fix typos

parent cc5cf70d
......@@ -178,7 +178,7 @@ abstract contract Deployer is Script {
if (existing.addr != address(0)) {
return bytes(existing.name).length > 0;
}
return _getExistingDeploymentAdress(_name) != address(0);
return _getExistingDeploymentAddress(_name) != address(0);
}
/// @notice Returns the address of a deployment.
......@@ -193,7 +193,7 @@ abstract contract Deployer is Script {
}
return existing.addr;
}
return _getExistingDeploymentAdress(_name);
return _getExistingDeploymentAddress(_name);
}
/// @notice Returns the address of a deployment and reverts if the deployment
......@@ -481,7 +481,7 @@ abstract contract Deployer is Script {
/// @notice Reads the artifact from the filesystem by name and returns the address.
/// @param _name The name of the artifact to read.
/// @return The address of the artifact.
function _getExistingDeploymentAdress(string memory _name) internal view returns (address payable) {
function _getExistingDeploymentAddress(string memory _name) internal view returns (address payable) {
return _getExistingDeployment(_name).addr;
}
......
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