Skip to content

Commit

Permalink
Adjust mastercopy script names
Browse files Browse the repository at this point in the history
  • Loading branch information
cristovaoth committed Aug 2, 2024
1 parent bc8bbb3 commit 6adf02c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"build": "hardhat compile",
"test": "hardhat test",
"extract-mastercopy": "yarn run build && yarn hardhat mastercopy:extract",
"deploy-mastercopies": "yarn hardhat mastercopies:deploy --network",
"verify-mastercopies": "yarn hardhat mastercopies:verify --network",
"deploy-mastercopy": "yarn hardhat mastercopy:deploy --network",
"verify-mastercopy": "yarn hardhat mastercopy:verify --network",
"coverage": "hardhat coverage",
"lint": "yarn lint:sol && yarn lint:ts",
"lint:sol": "solhint 'contracts/**/*.sol'",
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/tasks/mastercopy-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EthereumProvider } from "hardhat/types";
import { EIP1193Provider, deployMastercopiesFromArtifact } from "zodiac-core";

task(
"mastercopies:deploy",
"mastercopy:deploy",
"For every version entry on the artifacts file, deploys a mastercopy into the current network"
).setAction(async (_, hre) => {
const [signer] = await hre.ethers.getSigners();
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/tasks/mastercopy-extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import packageJson from "../package.json";
const AddressOne = "0x0000000000000000000000000000000000000001";

task(
"extract-current",
"mastercopy:extract",
"Extracts and persists current mastercopy build artifacts"
).setAction(async (_, hre) => {
storeMastercopyArtifact({
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/tasks/mastercopy-verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { verifyMastercopiesFromArtifact } from "zodiac-core";
const { ETHERSCAN_API_KEY } = process.env;

task(
"mastercopies:verify",
"mastercopy:verify",
"Verifies all mastercopies from the artifacts file, in the block explorer corresponding to the current network"
).setAction(async (_, hre) => {
if (!ETHERSCAN_API_KEY) {
Expand Down

0 comments on commit 6adf02c

Please sign in to comment.