From 6a7802cda1237d957e992019204aac69f85ec47c Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Mon, 12 Apr 2021 14:58:49 -0400 Subject: [PATCH] add ethereum deploy tags --- deploy/Bridge.ts | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/Bridge.ts b/deploy/Bridge.ts index aa96f7f..af2eb93 100644 --- a/deploy/Bridge.ts +++ b/deploy/Bridge.ts @@ -61,4 +61,5 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { sntEthereum.address ); }; +func.tags = ["ethereum"]; export default func; diff --git a/package.json b/package.json index 576f199..9b09a02 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "test": "npx hardhat test", "node": "npx hardhat node --watch", "frontend": "cd frontend && npm run start", - "deploy:goerli": "hardhat deploy --network goerli --deploy-scripts deploy/Bridge.ts", - "deploy:fuji": "hardhat deploy --network fuji --tags avalanche", + "deploy:goerli": "hardhat deploy --network goerli --tags ethereum --deploy-scripts deploy", + "deploy:fuji": "hardhat deploy --network fuji --tags avalanche --deploy-scripts deploy", "deploy:fuji:reset": "hardhat deploy --network fuji --tags avalanche --reset", "deploy:stavalanche": "hardhat deploy --network stavalanche --tags avalanche" },