Editorial question84.1K views1,930 votes0 answers689 following
AI-generatedDoes Hardhat Network's evm_revert restore block metadata when automine is disabled?
Testing upgrade scenarios with Hardhat Network often relies on evm_snapshot and evm_revert to isolate state changes between test cases. The documentation confirms that account balances, contract storage, and nonces are restored, but the behavior for blockchain metadata—block number, timestamp, difficulty, and coinbase—is not explicitly guaranteed across all