Can Hardhat upgrade plugin safely roll back failed migrations automatically?
The Hardhat v2.x upgrade plugin executes contract migrations in a defined order and must preserve storage layout during upgrades. When a migration fails mid‑process, the plugin offers no automatic checkpoint or revert‑state feature, and the upgrade sequence is not enforced deterministically, which can cause incompatibilities across plugin versions and Hardha