Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.
This is the first release of our new Hardhat+Foundry plugin!
This plugin makes it easier to use Hardhat and Foundry in the same project. You can use it both for adding Foundry to an existing Hardhat project, and to add Hardhat to an existing Foundry project.
Check our guide to learn how to use it and let us know if you find any issues.
version
field to the Hardhat Runtime Environment (thanks @konarshankar07!)flatten
taskmocha
and @types/mocha
used by Hardhatcompile
task that will be used by the hardhat-foundry
plugin.This release upgrades the versions of mocha
and @types/mocha
used by the Hardhat Toolbox.
This release upgrades the version of undici used by the hardhat-etherscan plugin.
Fixed a problem that was causing timeouts when this plugin was used in the GitHub CI.
Please update your version of Hardhat to 2.12.5 or later to benefit from this fix.
gasPrice
was set to "auto"
, which is the default configuration when connecting to a JSON-RPC network. This bug was preventing the results from eth_feeHistory
from being used when they should.Updated Solhint to v3.0.0 (thanks @gionn!)
Added a warning when the etherscan
config is mistakenly included in the networks
object instead of being at the root of the config.
This release fixes a small issue that was affecting our VSCode extension in some edge cases.
It also includes a non-intrusive message promoting this year's Solidity Developer Survey.
hardhat_metadata
RPC methodbloom
field (thanks @InoMurko!)getBuildInfoSync
function to the hre.artifacts
object (thanks @emretepedev!)debug_traceTransaction
was used with an OOG transaction sent to a precompile