Commit ce013d29 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: fix typo

parent ff57ecf6
...@@ -266,15 +266,15 @@ abstract contract Deployer is Script { ...@@ -266,15 +266,15 @@ abstract contract Deployer is Script {
return stdJson.readString(_deployTx, ".contractName"); return stdJson.readString(_deployTx, ".contractName");
} }
/// @notice /// @notice Wrapper for vm.getCode that handles semver in the name.
function _getCode(string memory _name) returns (bytes memory) { function _getCode(string memory _name) returns (bytes memory) {
string memory fqn = _getFullyQualifiedName(_name); string memory fqn = _getFullyQualifiedName(_name);
bytes memory code = vm.getCode(fqn); bytes memory code = vm.getCode(fqn);
return code; return code;
} }
/// @notice /// @notice Wrapper for vm.getDeployedCode that handles semver in the name.
function _getDeployedCode(string memorh _name) returns (bytes memory) { function _getDeployedCode(string memory _name) returns (bytes memory) {
string memory fqn = _getFullyQualifiedName(_name); string memory fqn = _getFullyQualifiedName(_name);
bytes memory code = vm.getDeployedCode(fqn); bytes memory code = vm.getDeployedCode(fqn);
return code; return code;
......
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