Commit a31e727a authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #7987 from ethereum-optimism/ctb/deploy-name-comment

contracts-bedrock: better comment for deployer `name()(string)`
parents 6f57e9c7 e8f93e95
......@@ -52,8 +52,7 @@ import "src/libraries/DisputeTypes.sol";
contract Deploy is Deployer {
DeployConfig cfg;
/// @notice The name of the script, used to ensure the right deploy artifacts
/// are used.
/// @inheritdoc Deployer
function name() public pure override returns (string memory name_) {
name_ = "Deploy";
}
......
......@@ -163,6 +163,8 @@ abstract contract Deployer is Script {
/// @notice Returns the name of the deployment script. Children contracts
/// must implement this to ensure that the deploy artifacts can be found.
/// This should be the same as the name of the script and is used as the file
/// name inside of the `broadcast` directory when looking up deployment artifacts.
function name() public pure virtual returns (string memory);
/// @notice Returns all of the deployments done in the current context.
......
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