Hardhat Forking Diagnostics: Spotting and Fixing State Mismatch Issues
When a Hardhat fork doesn’t reflect mainnet data, transactions revert or gas estimates skew, the problem often lies in the fork configuration. This guide walks through symptoms, causes, and step‑by‑step checks to restore a consistent forked state.