diff --git a/README.md b/README.md index 781a955..5b8d747 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ In the `.env` file, you need to add the following parameters: After that, you can run the following command to upgrade the Bridge contract to BridgeV2 on the Ethereum Sepolia network: ```bash -npx hardhat migrate --network sepolia --from 10 +npx hardhat migrate --network sepolia --from 10 --verify ``` If you made a mistake in the variables configuration and migration 11 failed, you can fix those and then only run migration 11. diff --git a/package.json b/package.json index 11fbd9d..3a01ce5 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "private-network": "npx hardhat node", "generate-types": "TYPECHAIN_FORCE=true npx hardhat typechain", "generate-go-bindings": "npx hardhat gobind --outdir ./go-bindings", - "deploy-ethereum": "npx hardhat migrate --network eth_mainnet --only 1", - "deploy-sepolia": "npx hardhat migrate --network sepolia --only 1", + "deploy-ethereum": "npx hardhat migrate --network eth_mainnet --only 1 --verify", + "deploy-sepolia": "npx hardhat migrate --network sepolia --only 1 --verify", "deploy-qtum-mainnet": "npx hardhat migrate --network qtumMainnet --only 1", "deploy-qtum-testnet": "npx hardhat migrate --network qtumTestnet --only 1", "lint-fix": "npm run lint-sol-fix && npm run lint-ts-fix && npm run lint-json-fix",