hardhat-deploy tracking or manual existence checks for idempotent retries
Goal: retry a failed contract write on Hardhat Network without creating a duplicate deployment or unintended state change. Hardhat core provides no built-in idempotency guard for ethers deployment calls, so retrying after a failed write may deploy a second contract unless the script checks for an existing deployment. hardhat-deploy tracks deployments in arti