Repository navigation
Update dependency hardhat to v3 - #468
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
August 27, 2025 17:13
cbd9eb3 to
0e9ccd4
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
August 31, 2025 09:24
0e9ccd4 to
33fb685
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
September 10, 2025 21:23
c9fa39a to
e28323e
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
September 25, 2025 19:51
e28323e to
9086b49
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
October 8, 2025 16:59
9086b49 to
ee121d9
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
October 23, 2025 14:55
93611eb to
20bfc00
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
November 4, 2025 11:11
4c8d1bb to
99b1e61
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
November 12, 2025 18:55
72a5921 to
1e9e224
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
November 18, 2025 13:08
3360d06 to
71d1ef2
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
4 times, most recently
from
December 3, 2025 21:10
0e2505f to
25e5489
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
December 10, 2025 20:04
25e5489 to
ad440b1
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
December 30, 2025 18:36
9b38d6b to
38af324
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
January 14, 2026 22:45
6882a99 to
91d1ad4
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
January 19, 2026 21:40
91d1ad4 to
e3a22fe
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
February 5, 2026 22:36
0861ebc to
70d08e0
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
4 times, most recently
from
April 29, 2026 13:04
54636cf to
74f48b3
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
May 4, 2026 14:54
8a383e4 to
d53a359
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
May 7, 2026 21:31
d53a359 to
801facd
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
May 22, 2026 00:45
2643c1c to
00e5c2b
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
June 1, 2026 22:43
5f2aa09 to
73e7fd9
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
June 8, 2026 22:27
b7baebb to
3ea0e10
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
July 2, 2026 17:15
3ea0e10 to
b20eab7
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
July 16, 2026 23:46
45543dd to
c924229
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
July 24, 2026 20:52
184d8ea to
947a96c
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
from
July 30, 2026 22:11
947a96c to
58c6dfa
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
3 times, most recently
from
August 14, 2026 20:56
061055f to
fc02550
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
August 27, 2026 13:16
4470cc7 to
c7cceaf
Compare
renovate
Bot
force-pushed
the
renovate/hardhat-3.x
branch
2 times, most recently
from
September 3, 2026 13:33
a09a1ac to
f860078
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^2.8.0→^3.0.0Release Notes
NomicFoundation/hardhat (hardhat)
v3.21.0Compare Source
Minor Changes
5309dcdThanks @kanej! - Added experimental EIP-7954 support to the Amsterdam hardfork: deployment transactions may carry up to 128 KiB of init code and deploy up to 64 KiB of contract code.Patch Changes
#8670
1dbf44dThanks @schaable! - Fixed a cryptic error when a private key in a network'saccountsis invalid.#8708
c8e13d7Thanks @Kropiunig! - Fixed--coveragecrashing when generating the report if Hardhat is run from a directory other than the project root (e.g. a subdirectory, or with--config).#8747
5309dcdThanks @kanej! - Upgraded EDR to v0.24.0.#8747
5309dcdThanks @kanej! - Fixed theGASLIMITopcode returning1_000_000while the block gas limit is disabled; it now returns the parent block's gas limit, which the mined block's header already carried.#8747
5309dcdThanks @kanej! - Added the Amsterdam hardfork activation on Hoodi, so forking Hoodi usesamsterdamfor blocks after it activates.#8747
5309dcdThanks @kanej! - Fixed simulated OP networks not charging the L1 data fee, so transactions now pay it and their receipts report it.#8734
4c2a07cThanks @mikeua! - Fixed thenode:testlink in thenode:test+ viem project template README.#8655
de7c792Thanks @aelmanaa! - Fixed prompts only receiving the first line when input is piped (e.g.printf 'password\npassword\nvalue\n' | npx hardhat keystore set KEY); later prompts now read the following lines instead of the process exiting with an unsettled top-level await.#8743
ac2776fThanks @clippytool! - Fixed the solc compiler list cache not refreshing when it only contains a prerelease build for a requested stable version.#8751
0a2a248Thanks @clippytool! - Fixed peer dependency detection during project initialization when npm'slegacy-peer-depsor pnpm'sauto-install-peersis explicitly configured.Updated dependencies:
v3.20.0Compare Source
Minor Changes
#8710
065c858Thanks @popescuoctavian! - Added experimental EIP-2780 support to the Amsterdam hardfork: intrinsic transaction gas is priced per resource instead of a flat 21,000.#8710
065c858Thanks @popescuoctavian! - Added experimental EIP-8246 support to the Amsterdam hardfork: a contract that self-destructs in the transaction that created it keeps its balance instead of burning it.#8710
065c858Thanks @popescuoctavian! - Added thelastFrameGasandsnapshotGasLastFramecheatcodes, which also recordCREATEandCREATE2frames, and deprecatedlastCallGasandsnapshotGasLastCallin their favour.Patch Changes
#8697
8c4d435Thanks @kediyalua! - Fixed the CORS headers ofhardhat node's JSON-RPC server to list the methods it actually serves.#8690
0058149Thanks @schaable! - Sped up compilation by reading and writing solc's output withJSON.parseandJSON.stringifywhen memory allows (#8565).#8705
5f5991bThanks @izzetemredemir! - Fixed config values containing "$$", "$&", "$`" or "$'" being altered when resolved, including inline values. An HD account passphrase with one of these will now derive different accounts than before.#8710
065c858Thanks @popescuoctavian! - Upgraded EDR to v0.23.0.#8710
065c858Thanks @popescuoctavian! - Fixed Solidity stack traces not recognisingconsole.logcalls made through the Hardhat console address.#8710
065c858Thanks @popescuoctavian! - Fixed the transactionValuein thehardhat nodelogs dropping leading zeros of the fractional part (0.01 ETHwas logged as0.1 ETH) and whole amounts ending with a trailing dot.#8710
065c858Thanks @popescuoctavian! - Fixed JSON-RPC call traces to include calls to precompiles.#8710
065c858Thanks @popescuoctavian! - Fixed Solidity stack traces after a precompile call, so a failing precompile call is reported as a precompile error and later calls in the same function point at the right line.#8710
065c858Thanks @popescuoctavian! - Fixed the default gas limit of Solidity test transactions being lowered to the EIP-7825 cap from the Amsterdam hardfork, where the cap bounds execution gas only.#8669
257692dThanks @schaable! - Fixed Hardhat exiting without an error when a prompt, like the keystore password prompt, has no input to read.#8572
a0a52b9Thanks @sanskar717! - Fixed a race condition in the solc downloader that would show asspawn ... EACCES.#8642
7f75efbThanks @spideydotjs! - Improved the error for bare-filename imports of local files (e.g. import "Token.sol"), which now suggests the equivalent relative import instead of reporting invalid npm import syntax.Updated dependencies:
v3.19.0Compare Source
Minor Changes
#8680
0e51fa2Thanks @anaPerezGhiglia! - Added experimental EIP-7976 support to the Amsterdam hardfork: the calldata floor cost rises to 64 gas per byte.#8680
b52d2ebThanks @anaPerezGhiglia! - Added experimental EIP-7981 support to the Amsterdam hardfork: access list data costs an extra 64 gas per byte.#8680
bb62bf6Thanks @anaPerezGhiglia! - Added experimental EIP-7997 support to the Amsterdam hardfork: the deterministicCREATE2factory is now part of the genesis state.#8680
0e51fa2Thanks @anaPerezGhiglia! - Added experimental EIP-8024 support to the Amsterdam hardfork: theDUPN,SWAPNandEXCHANGEopcodes reach stack items beyondDUP16andSWAP16.#8680
bb62bf6Thanks @anaPerezGhiglia! - Added experimental EIP-8037 support to the Amsterdam hardfork: execution gas and state gas are metered separately, and a block'sgasUsedreports the larger.Patch Changes
#8680
bb62bf6Thanks @anaPerezGhiglia! - Upgraded EDR to v0.22.2.#8679
63fb54aThanks @Wodann! - Excluded the templates'node_modulesfolders from the published package, which broke installation with Yarn classic.#8667
5793554Thanks @schaable! - Improved the errors for invalid transactions sent from local accounts.#8666
0295fefThanks @schaable! - Fixed locally managed accounts silently dropping the blobs of EIP-4844 transactions; sending one now throws an error.#8680
17133ceThanks @kanej! - Removed the remaining built-in Holesky (chain ID17000) hardfork history, as the network has been shut down.#8680
17133ceThanks @kanej! - Added the Amsterdam hardfork activation on Sepolia, so forking Sepolia usesamsterdamfor blocks after it activates.v3.18.1Compare Source
Patch Changes
#8631
d014d43Thanks @Kropiunig! - Fixededr-simulatednetworks withforking.enabled: falsestarting without the chain's predeploys (e.g. OP'sGasPriceOracleandL1Block, or the L1 beacon roots and history storage contracts).#8636
8b24451Thanks @schaable! - Fixed the formatting of errors reported while running Solidity tests.Updated dependencies:
v3.18.0Compare Source
Minor Changes
#8574
e28e4f5Thanks @anaPerezGhiglia! - Removed the pre-Byzantium hardforks (chainstart,homestead,dao,tangerineWhistle,spuriousDragon) from the acceptedhardforkandhardforkHistoryvalues, as EDR cannot execute them.#8595
562cc0bThanks @ChristopherDedominici! - Made ethers derive secp256k1 public keys with EDR's native implementation instead of its pure-JS one, speeding upnew Wallet(secretKey),Wallet.createRandom(), HD wallet derivation andcomputeAddress.#8590
e2ebf54Thanks @schaable! - Added Solidity test profiles, allowing test settings to vary across environments such as local development and CI.Patch Changes
#8635
ad92657Thanks @popescuoctavian! - Upgraded EDR to v0.22.0.#8601
34087ddThanks @cdesch! - Improved HTTP proxy support.#8616
8b73917Thanks @rome-xi! - Fixed invalidHTTPS_PROXY/HTTP_PROXYvalues being reported as unexpected errors instead of a Hardhat error.#8624
1377eb0Thanks @ChristopherDedominici! - Updatedmochato^12.0.0in thehardhat --initmocha-ethers template project.Updated dependencies:
v3.17.0Compare Source
Minor Changes
#8501
5faee42Thanks @ChristopherDedominici! - AddgasEstimationModeconfig option to EDR networks, featuring a"noInternalOutOfGas"mode to prevent misleadingeth_estimateGasresults when internal calls run out of gas.#8580
8583e24Thanks @ChristopherDedominici! - Made ethers use EDR's native Keccak-256 instead of its pure-JS one.#8210
024b422Thanks @renovate! - Update the cryptography dependencies to their latest major versions:@noble/hashesand@noble/ciphersto 2,ethereum-cryptographyto 3, andmicro-eth-signerto 0.19.Patch Changes
#8596
0acd737Thanks @schaable! - Fixed configuration variables to stop printing of values in error messages.#8596
78f613cThanks @schaable! - Fixed error shown when an HD key cannot be derived, to only include the derivation path.#8594
0fc2dcaThanks @ChristopherDedominici! - Upgrade to EDR v0.20.0.Updated dependencies:
v3.16.0Compare Source
Minor Changes
6684224Thanks @kanej! - Added slang-solx compiler support as a Hardhat plugin.v3.15.0Compare Source
Minor Changes
#8457
48286e0Thanks @ChristopherDedominici! - Improve compilation speed for Solidity test runs by porting inline configuration parsing to Rust.#8541
ec737a2Thanks @kanej! - The project templates have been updated to Solidity 0.8.34 and forge-std v1.16.2.Patch Changes
d88f769Thanks @kanej! - Support hyphens in compiler type names.v3.14.0Compare Source
Minor Changes
99306eaThanks @kanej! - EDR now uses platform specificoptionalDependencies, reducing Hardhat's install size.Patch Changes
#8514
f7c6228Thanks @questfever! - Fixed Solidity resolver containment checks for paths whose names share a prefix with the project root, a package source-name root, ornode_modules.#8540
99306eaThanks @kanej! - Fixed missing Solidity test stack trace whensetUp()fails and stack traces are collected withCollectStackTraces::Always.#8500
54973b2Thanks @SnowingFox! - Fixed the format of fuzz test counterexamples: byte array values such ascalldata,senderandaddressare now printed as hexadecimal strings (e.g.0x3e2033b3...) instead of comma-separated byte lists.#8522
8640b4bThanks @JasonColapietro! - Remove Holesky testnet (chain id 17000) as a supported chain as it has been shut down.#8488
edd1069Thanks @ChristopherDedominici! - Stores gas snapshot cheatcode values as raw strings and calculates diffs using BigInt.v3.13.0Compare Source
Minor Changes
#8453
38b9f2dThanks @ChristopherDedominici! - Add a fallback value forconfigVariable.#8487
7b7af19Thanks @ChristopherDedominici! - Added a--toleranceoption to--snapshot-checkin Solidity tests, allowing snapshot values to drift by a given percentage before the check fails.Patch Changes
#8486
2ccd059Thanks @Kropiunig! - Fixed the EDR network config validation rejectingmining.interval: 0, a valid value which disables interval mining.#8490
22667f6Thanks @kanej! - Added detection and custom error for failed native binding loads (HHE27) of@nomicfoundation/edror@nomicfoundation/solidity-analyzer.#8454
47793deThanks @ChristopherDedominici! - Only collect Solidity test stack traces at verbosity level 5 (-vvvvv) and above, fixing excessive memory usage when running large test suites with -vvv/-vvvv.v3.12.0Compare Source
Minor Changes
#8442
4904c72Thanks @ChristopherDedominici! - Support test name filter negation (--grep-exclude) for Solidity and Mocha tests.#8472
2a66c2eThanks @kanej! - Added experimental EIP-7843 support to the Amsterdam hardfork: blocks now include theslotNumberheader field, and theSLOTNUM(0x4b) opcode returns it. EDR has no consensus layer, so the value is simulated: it increments by one per mined block, starting at 0 on a new chain, or from the forked block's slot number when forking.Patch Changes
#8464
b2b69f7Thanks @nishant-uxs! - Prefer environment variables over configurationVariables hooks when resolving config vars.#8474
49cc2f0Thanks @Wodann! - Report chain type to Google Analytics#8458
0c60e08Thanks @schaable! - Fixed project initialization so that compilation and build output directories are never copied from a template into a new project.#8472
2a66c2eThanks @kanej! - Fixed empty stack traces on Solidity test failures when running with-vvvor above.#8472
2a66c2eThanks @kanej! - Fixed missing stack traces when an invariant already fails on its initial check, when running with-vvvor above.#8470
341807cThanks @kanej! - Update thechokidarruntime dependency to its latest major version.#8470
4a71543Thanks @kanej! - Update thep-mapdependency.#8461
841423aThanks @kanej! - Reduce installation warnings with updated dependencies.v3.11.1Compare Source
Patch Changes
#8451
5c9d4a4Thanks @kanej! - Remove Hardhat 2 option from init process#8452
724b7cdThanks @kanej! - Fixed Solidity source classification so that a directory listed in bothpaths.sources.solidityandpaths.tests.solidityis treated as a source.Updated dependencies:
v3.11.0Compare Source
Minor Changes
#8447
dff401dThanks @kanej! - Added experimental EIP-7778 support to the Amsterdam hardfork: a block'sgasUsedexcludes gas refunds; transaction receipts are unchanged.#8447
dff401dThanks @kanej! - Added experimental EIP-7928 support to the Amsterdam hardfork: blocks on Amsterdam now include theblockAccessListHashheader field. The value is simulated, not the realkeccak256(rlp(blockAccessList)).Patch Changes
dff401dThanks @kanej! - Fixed JSON-RPC provider call traces omitting event logs (NomicFoundation/edr#1542)v3.10.0Compare Source
Minor Changes
39c93e4Thanks @anaPerezGhiglia! - Add support for the new experimentalamsterdamL1 hardfork, which currently implements EIP-7708 (ETH transfers emit logs).Patch Changes
#8421
1ab0408Thanks @BROCCOLO1D! - FixSolidityBuildSystem#compileBuildInfoso build infos produced by non-solc compiler types are replayed through the Solidity compiler hooks.#8414
6ba2bf3Thanks @goutamadwant! - Fixed Solidity tests failing to run in projects with very large compilation outputs.#8438
d8d2eb7Thanks @kanej! - Fixed thehardhat nodetask so the--chain-id,--fork, and--fork-block-numberCLI options are applied to the network again.#8417
eb4826aThanks @ChristopherDedominici! - Fix a bug where the EIP-712 collector throws for a struct of the same name in a source file the user didn't include.#8443
b5674eaThanks @Kropiunig! - Fixed the HD wallet derivation-path validator so malformed paths containing stray colons (e.g.m:/44'/60'/0'/0) are rejected with theINVALID_HD_PATHerror.#8411
5eb4f0eThanks @BROCCOLO1D! - Support Solidity testmemoryLimitand fuzz/invarianttimeoutconfig options.Updated dependencies:
v3.9.1Compare Source
Patch Changes
#8234
81871fdThanks @tenderdeve! - Explain the unsupported cheatcodeeip712HashType(string,string)and point to the documentation for the alternative instead.#8400
2f48724Thanks @kanej! - Support setting the transaction gas cap in Solidity Tests#8367
82d00fcThanks @alcuadrado! - Lazy load dependencies to optimize bootstrap time#8391
f3c5727Thanks @schaable! - Makehardhat test solidity --snapshot-checkread-only. It no longer rewrites or deletes.gas-snapshotorsnapshots/*.jsonfiles, and instead reports differences. The command now fails when a stored gas value differs from the current one, or when no baseline exists, with a hint to run--snapshot.#8332
e542a48Thanks @gultekinmakif! - Fixed a crash that could occur when a network returned an unexpected response while resolving the default sender account#8385
946e379Thanks @BROCCOLO1D! - When a Hardhat 2 plugin calls an API that no longer exists in Hardhat 3, the error now names the specific API that was used and explains how to migrate it to Hardhat 3.Updated dependencies:
v3.9.0Compare Source
Minor Changes
0fd498dThanks @kanej! - Added support forcoverage.skipFiles, a list of globs of Solidity files to exclude from coverage instrumentation and reporting during a--coveragerun.Patch Changes
#8383
1660f1eThanks @schaable! - Fixed an intermittent "Provider for provided chain type does not exist" error that could occur when multiple network connections were created concurrently.#8371
287620eThanks @gultekinmakif! - Account overrides that share an address with the network's built-in genesis accounts are now correctly merged into a single genesis entry.#8375
931a5f0Thanks @schaable! - Suppressed the solc initcode size warning for Solidity test contracts and when running under--coverage.#8372
5f6aff2Thanks @gultekinmakif! - Improved validation forinitialDatenetwork configuration. InvalidDateobjects and unparseable datestrings are now rejected during config loading rather than causing a runtime error later.v3.8.0Compare Source
Minor Changes
#8339
f21390fThanks @alcuadrado! - AddeddefinePlugin, a new helper exported fromhardhat/plugins. Plugin authors should wrap their plugin literal with it so the default export of theirindexmodule becomes:definePluginreturns its argument unchanged and, as a side effect, registers the plugin's id in a process-wide registry of loaded plugins. Hardhat's CLI uses that registry to warn when a plugin is imported but missing from the user'spluginsarray.#8339
19c6927Thanks @alcuadrado! - Hardhat now warns when a plugin is imported in your Hardhat config file but missing from thepluginsarray. The warning is printed to stderr after the runtime environment is created, listing the offending plugins and pointing the user at the fix.If your Hardhat config file is written in TypeScript, for the warning to be reliable your project's
tsconfig.jsonmust enableverbatimModuleSyntax: true. Without it, TypeScript deletes unused default-value imports, so an unused plugin can't be detected.Patch Changes
#8336
86bfe66Thanks @Wodann! - - Fixed default gas limit of Solidity test runner when a custom transaction gas cap (EIP-7825) or block gas limit is specified#8345
9d5b96cThanks @alcuadrado! - Add.solidityStackproperty to theSolidityErrorexceptions generated by EDR#8365
dbb689bThanks @kanej! - Suppress the solc contract size warning for Solidity test files.#8368
2e2ba99Thanks @kanej! - Fixed thebuildtask attempting to download a compiler even though apathto a local compiler is configured.#8339
25cea9fThanks @alcuadrado! - The sample projects initialized withhardhat --initnow setverbatimModuleSyntax: truein theirtsconfig.json. This ensures that plugin imports inhardhat.config.tsare actually evaluated at runtime, which is required for the new "imported but unused plugin" warning to work reliably.Updated dependencies:
v3.7.0Compare Source
Minor Changes
ce430acThanks @tenderdeve! - Hardhat 3 is now stable, the "Beta" wording is being dropped from thehardhat --initprocess and project templates.v3.6.0Compare Source
Minor Changes
#8327
dee44f6Thanks @alcuadrado! - Add acleanupArtifactsoption toSolidityBuildSystem#build. Whentrue, the build system runscleanupArtifactsagainst the build's root file paths after a successful build, deleting orphan artifacts and unreachable build-info files for the scope.#8327
dee44f6Thanks @alcuadrado! - Deprecate the followingSolidityHooks:getCompiler,onCleanUpArtifacts,preprocessProjectFileBeforeBuilding,preprocessSolcInputBeforeBuilding,readSourceFile,invokeSolc, andreadNpmPackageRemappings. They will be removed in a future release.Use
processArtifactsAfterSuccessfulBuildinstead ofonCleanUpArtifacts, andgetCompilationJobErrorsinstead ofinvokeSolc.#8327
dee44f6Thanks @alcuadrado! - AddSolidityHooks#getCompilationJobErrorshook, which lets plugins process the compiler output errors of a compilation job before they are reported to the user.#8327
dee44f6Thanks @alcuadrado! - AddSolidityHooks#processArtifactsAfterSuccessfulBuildhook to let plugins post-process the artifacts. The hook receives the resolved build options as a new exportedResolvedBuildOptionstype.Patch Changes
#8327
dee44f6Thanks @alcuadrado! -SolidityBuildSystem#cleanupArtifactsnow returns the list of artifact paths that remain after the cleanup.#8335
a4bf547Thanks @gultekinmakif! - Allow STRING_WITHOUT_DEFAULT and FILE_WITHOUT_DEFAULT as positional arguments#8326
959f2e1Thanks @kanej! - Fixedhardhat flattensilently producing a misleading output for projects with cyclic Solidity dependencies.#8262
d3ba170Thanks @fvictorio! - Add AGENTS.md and agentic skills to sample projectsUpdated dependencies:
v3.5.1Compare Source
Patch Changes
#8316
971a135Thanks @alcuadrado! - Fixhardhat --initwhen used with pnpm 11#8302
fb99caaThanks @ChristopherDedominici! - Suppress solc warnings that are direct side effects of--coverageinstrumentation.#8315
90650fdThanks @schaable! - Improved error messages for common migration errors.v3.5.0Compare Source
Minor Changes
#8301
793cc84Thanks @kanej! - Disable transaction gas cap and block gas limit when running tests under--coverage.#8270
cf2823bThanks @schaable! - Solidity test configuration now also accepts{ profiles: { default: ... } }. Only thedefaultprofile is currently supported, other profile names will be supported in a future release. The previous flat shape continues to work unchanged.The resolved
HardhatConfig.test.solidityis now profile-keyed: read per-profile fields athre.config.test.solidity.profiles.default.*instead ofhre.config.test.solidity.*. Plugins that read the resolved Solidity test config need to be updated.Patch Changes
83b1ae1](https://redirect.github.com/NomicFoundation/hardhat/commit/83b1ae1bdc3b941f9e15f9d2d92Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.