Commit fd11bb78 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: deployment cleanup

parent 6e63898d
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.19;
// A representation of an empty/uninitialized UID.
bytes32 constant EMPTY_UID = 0;
......
......@@ -106,7 +106,7 @@ abstract contract Deployer is Script {
string memory contractName = _getContractNameFromDeployTransaction(deployTx);
console.log("Syncing deployment %s: contract %s", deploymentName, contractName);
string memory fqn = getFullyQualifiedName(deploymentName, contractName);
string memory fqn = getFullyQualifiedName(contractName);
string[] memory args = getDeployTransactionConstructorArguments(deployTx);
bytes memory code = vm.getCode(fqn);
bytes memory deployedCode = vm.getDeployedCode(fqn);
......@@ -295,8 +295,8 @@ abstract contract Deployer is Script {
/// @notice Builds the fully qualified name of a contract. Assumes that the
/// file name is the same as the contract name.
function getFullyQualifiedName(string memory _deployment, string memory _name) internal pure returns (string memory) {
return string.concat(_deployment, ".sol:", _name);
function getFullyQualifiedName(string memory _name) internal pure returns (string memory) {
return string.concat(_name, ".sol:", _name);
}
/// @notice Returns the filesystem path to the artifact path. Assumes that the name of the
......
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