github NomicFoundation/hardhat hardhat@3.2.0
Hardhat v3.2.0

14 hours ago

This release adds support for exporting the gas-stats report to a json file with --gas-stats-json <path>, along with other smaller bug fixes and improvements.

Changes

  • #8064 392fc38 Thanks @schaable! - Add --gas-stats-json <path> global option to write gas usage statistics to a JSON file (#7990).

  • #8061 c03f647 Thanks @ChristopherDedominici! - Fixed bug to preserve revert data in JSON-RPC responses for non-ProviderErrors (8061).

  • #8060 4461d1e Thanks @kanej! - Updated network.createServer signature to type non-generic chainTypes

  • #8038 465d00d Thanks @schaable! - Aggregate deployment gas statistics (min, avg, median, max, count) instead of showing only the last deployment cost and size (#8037)

  • #8060 0e8abcf Thanks @kanej! - Added guard against http network configs in network.createServer(...)

  • #8036 954825a Thanks @schaable! - Aggregate --gas-stats output when using multiple test runners, printing a single consolidated table at the end instead of separate tables per runner (#7500).

  • #8062 45963d4 Thanks @ChristopherDedominici! - Fixed compiler download for old versions in ARM64 (8062).

  • Updated dependencies:

    • @nomicfoundation/hardhat-errors@3.0.9

💡 The Nomic Foundation is hiring! Check our open positions.


Don't miss a new hardhat release

NewReleases is sending notifications on new releases.