chore(deps): update dependency hardhat to v3#1192
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to f3b4e4b in 1 minute and 31 seconds. Click for details.
- Reviewed
13lines of code in1files - Skipped
1files when reviewing. - Skipped posting
1draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. package.json:62
- Draft comment:
The hardhat dependency update to v3.0.0 is a major change. Please verify that your Hardhat configuration and related plugins (e.g., @nomiclabs/hardhat-ethers) are compatible with this release. Also, Hardhat v2.26.0 and later typically require Node v20, so consider updating the 'engines' field (currently '>=18.12.0' at line 83) to reflect this requirement. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 10% vs. threshold = 50% According to the rules, we should NOT comment on dependency changes or library versions we don't recognize. The comment is speculative about potential compatibility issues and asks for verification. It's asking the author to check things rather than pointing out a definite problem. This falls under the "do not ask to verify/ensure" rule. The comment does raise valid technical concerns about major version compatibility. Breaking changes in build tools can cause real issues. While the concerns are valid, our rules explicitly state not to comment on dependency changes or ask authors to verify things. We should trust that authors validate their dependency updates. This comment should be deleted as it violates multiple rules: commenting on dependencies, asking for verification, and making speculative statements about potential issues.
Workflow ID: wflow_xfiPTn53oKb7ln1i
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
f3b4e4b to
197711b
Compare
197711b to
b001a24
Compare
b001a24 to
ed6b77c
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
ed6b77c to
16651fd
Compare
16651fd to
3dadd24
Compare
3dadd24 to
502158d
Compare
502158d to
c01b183
Compare
c01b183 to
648cd88
Compare
648cd88 to
9370c82
Compare
9370c82 to
af7556e
Compare
af7556e to
c650238
Compare
c650238 to
4e6b9db
Compare
757a729 to
b6e2410
Compare
0a27698 to
a1bc1a7
Compare
a1bc1a7 to
f438867
Compare
f438867 to
895f66f
Compare
895f66f to
666fd49
Compare
666fd49 to
c1e441b
Compare
c1e441b to
ad44b48
Compare
|
Deployment failed with the following error: Learn More: https://vercel.com/itman?upgradeToPro=build-rate-limit |
ad44b48 to
cd36d11
Compare
cd36d11 to
f54edf3
Compare
f54edf3 to
0e0f09a
Compare
0e0f09a to
5a3674c
Compare
5a3674c to
dc24078
Compare
dc24078 to
3c84904
Compare
|
Deployment failed with the following error: Learn More: https://vercel.com/itman?upgradeToPro=build-rate-limit |
This PR contains the following updates:
2.23.0→3.4.0Release Notes
NomicFoundation/hardhat (hardhat)
v3.4.0Compare Source
Minor Changes
#8116
88787e1Thanks @kanej! - AddgetOrCreateto the network API#8127
353cf86Thanks @alcuadrado! - Make the split of contracts and solidity tests compilation optional, and controlled with a newsplitTestsCompilationconfig field.Patch Changes
#8105
00e9695Thanks @marianfe! - Add Solidity 0.8.34 to the default EVM targets table (osaka) (#8105)#8108
5404ac8Thanks @schaable! - Display contract runtime bytecode size in the gas stats table and JSON output#8104
e27a7adThanks @ChristopherDedominici! - Use code 3 for JSON-RPC revert error codes to align with standard node behavior and preserve error causes in viem/ethers.#8103
14b335aThanks @kanej! - Improved network handler performance through additional metadata to allow early skipping (#8103)#8148
49ec5d0Thanks @alcuadrado! - Don't report HardhatErrors that aren't bugs#8102
d5f8394Thanks @kanej! - Improved performance of network handler initialization (#8102)#8141
63c68c1Thanks @ChristopherDedominici! - Added support for EDR structured Solidity test cheatcode errors.#8123
cf3933bThanks @alcuadrado! - Add atoolVersionsInBuildInfosetting to the Solidity config, which istrueby default in theproductionbuild profile. When enabled, the version of Hardhat is included in the Build Info files.NOTE: This change can lead to build info ids changing despite the compilation output's bytecodes being identical, especially when using the
productionbuild profile.#8143
f74cec9Thanks @ChristopherDedominici! - Update.gitignorefiles in the sample projects to ignore snapshots and env files.#8096
7fb721bThanks @alcuadrado! - [chore] Move to packages/ folder.#8116
88787e1Thanks @kanej! - Deprecate thehre.network.connect()method in favour ofhre.network.create(), exactly the same method but more clearly indicating that it will create a new connection.#8119
ff5a97eThanks @schaable! - Show proxy chain information in --gas-stats and --gas-stats-json output#8114
6eeb144Thanks @ChristopherDedominici! - Updated forking configurations to support number and bigint.#8121
0f1038cThanks @alcuadrado! - Update the default outputSelection setting of solc to decrease the artifacts size.NOTE: This change can lead to build info ids changing, despite compilation output's bytecodes being identical.
#8122
edfa548Thanks @alcuadrado! - Optimizehre.artifacts.artifactExists()#8115
935a043Thanks @ChristopherDedominici! - Breaking change: removedtimeoutoption for Solidity tests inhardhat.config.tsfile.#8120
688870cThanks @alcuadrado! - Fix remappings duplicationUpdated dependencies:
v3.3.0Compare Source
Minor Changes
dfe4ffeThanks @schaable! - Add support for per-test inline configuration in solidity tests.Patch Changes
#8008
6fb3c27Thanks @marianfe! - Introduce multi-compiler abstraction that allows plugins to define new Solidity compiler types (#8008).#8077
4581395Thanks @alcuadrado! - Optimize the initialization of EDR Network Connections by caching their genesis state.#7983
8e194d0Thanks @ChristopherDedominici! - Added--verbosity(and-v,-vv, and the other shorthands) to all tasks, including TypeScript tests (7983), (7963).#8077
4581395Thanks @alcuadrado! - Fix a bug wherenetwork.connect()re-resolved the config when not needed.#8009
83b412eThanks @marianfe! - AddSolidityHooks#downloadCompilersandSolidityHooks#getCompilerhooks for extensible custom compiler support (#8009)#8091
c89cb91Thanks @kanej! - Improved performance of the network stack by removing a clone of the http request (#8046)#8088
23c0d36Thanks @alcuadrado! - Optimize imports.#8074
8984862Thanks @alcuadrado! - Optimize the initialization of EDR Network Connections by only processing the build outputs once.#8082
72a033dThanks @popescuoctavian! - Bumped EDR version to0.12.0-next.29#8008
57d1075Thanks @marianfe! - Introduce theConfigHooks#validateResolvedConfighook and theHardhatConfigValidationErrortype to be able to run global validations on the resolved config (#8008).#8079
759983bThanks @alcuadrado! - Optimize the network connections to prevent memory leaks.Updated dependencies:
v3.2.0Compare Source
Minor Changes
392fc38Thanks @schaable! - Add--gas-stats-json <path>global option to write gas usage statistics to a JSON file (#7990).Patch Changes
#8061
c03f647Thanks @ChristopherDedominici! - Fixed bug to preserve revert data in JSON-RPC responses for non-ProviderErrors (8061).#8060
4461d1eThanks @kanej! - Updatednetwork.createServersignature to type non-generic chainTypes#8038
465d00dThanks @schaable! - Aggregate deployment gas statistics (min, avg, median, max, count) instead of showing only the last deployment cost and size (#8037)#8060
0e8abcfThanks @kanej! - Added guard againsthttpnetwork configs innetwork.createServer(...)#8036
954825aThanks @schaable! - Aggregate--gas-statsoutput when using multiple test runners, printing a single consolidated table at the end instead of separate tables per runner (#7500).#8062
45963d4Thanks @ChristopherDedominici! - Fixed compiler download for old versions in ARM64 (8062).Updated dependencies:
v3.1.12Compare Source
Patch Changes
01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with--snapshotand--snapshot-checkflags (#7769)e37f96c: AddTestRunResulttype that wrapsTestSummary, allowing plugins to extend test results with additional databda5a0a: Bumped EDR version to0.12.0-next.28v3.1.11Compare Source
Patch Changes
2cbf218: Bumped EDR version to0.12.0-next.27BREAKING CHANGE: Memory capture used to be enabled by default on geth, but has since been flipped ethereum/go-ethereum#23558 and is now disabled by default. We have followed suit and disabled it by default as well. If you were relying on memory capture, you will need to explicitly enable it by setting the
enableMemoryoption to true in your tracer configuration.bc193be: Use concrete value types for contract names in hardhat-viem and hardhat-ethers2cbf218: Make SolidityBuildSystem easier to work with (#7988)19b691d: Fix typo in assertion message #80282cbf218: ExposeResulttype for task action success/failure signaling.2cbf218: Fixed the acceptance of relative paths tonode_modulesin npm remappings (#8007)2cbf218: Implement a global banner logic in Hardhat 3 #80214ff11c1: Return typedResultfrom test runners and telemetry tasks (#8015).2cbf218: Show fs paths and better error messages when a Solidity file can't be compiled with any configured compiler (#7988)2cbf218: AddonTestRunStart,onTestWorkerDone, andonTestRunDonetest hooks (#8001)v3.1.10Compare Source
Patch Changes
ca26adb: Updatehardhat nodeto always use the newnodenetwork (#7989)[#7989]87623db: Introduce new inter-process mutex implementation (7942).88e9cb5: Add aSolidityHooks#readNpmPackageRemappingshookec03a01: Allow overriding the type of the network configsdefaultandlocalhost#78052c2e1f5: Throw better error messages when trying to use a Hardhat 2 plugin with Hardhat 3 #7991.90b5eec: Suggest installing hardhat-foundry when appropriate87623db: Make the solc downloader safe when run by multiple processes (7946).726ff37: Update the--coveragetable output to match the style used by--gas-stats. Thanks @jose-blockchain! (#7733)f1e9b05: Added support forinline actionsin tasks 7851.73cb725: ExposegasLimitconfiguration for Solidity tests #7996v3.1.9Compare Source
Patch Changes
621d07e: Make the coverage work with versions of Solidity that aren't fully supported by EDR #79823e39a06: Round average and median gas usage in the gas analytics output78af2ed: Allow multiple parallel downloads of different compilers (7946).v3.1.8Compare Source
Patch Changes
a6947fb: Use the official Linux ARM64 builds of solc in theproductionprofile when available (#7917).fd42744: Fixed missing EIP-7212 precompile in Solidity Tests (#7872).v3.1.7Compare Source
Patch Changes
4995121: Suppressed pragma and license warnings in Solidity test files (7894).22adbcb: Added support foreth_getProof(3345).v3.1.6Compare Source
Patch Changes
98fbf44: ImplementedSolidityBuildSystemImplementation#compileBuildInfo(#7891)a9445c9: Added ArtifactManager#getAllArtifactPaths (#7902)a9445c9: Fixed typechain type generation when compiling a subset of the Solidity files (#7902)127ce88: Suppress Hardhat console.sol memory-safe-assembly warning #7862.c40697b: Added a Solidity#build hook (#7890)8e5610f: Fixed a bug where nested folders were not created during the HTML coverage report generation (#7889)13a1e4b: Multiple internal fixes to the solidity build system (#7900)0c47a69: Added compiler downloader retry in case of failure (#7031)v3.1.5Compare Source
Patch Changes
346f92a: Improve how solidity tests are displayed, making it more consistent with the js reporters.2bc18b2: Bumpedviemversion across all packages 7861.865e346: Updated the incorrect JSDOC against thepreprocessProjectFileBeforeBuildingSolidity Hook (#7870)c9bdbd0: AddedinvokeSolcinSolidityHooksto allow plugins to respond to the input/output from solc (#7646)v3.1.4Compare Source
Patch Changes
d7c13fa: Fixes a bug in how code coverage for Solidity tests is calculated (7767).b6a9d5a: Hardhat tries to use the latest Solidity version supported by Slang in case the a newer, unsupported version is selected (7846).268acbf: Added HTML coverage report for solidity tests (7787).v3.1.3Compare Source
Patch Changes
12d7468: Add mocha results to test summary numbers (#7791)25155b5: Add support for the official builds ofsolcfor ARM64 Linux (#7752)065df38: Bumped EDR version to0.12.0-next.22.b5a7b75: Added an API that reports the latest supported Solidity version for source instrumentation5abcee6: Use Osaka as the default EVM target for solc 0.8.31+ and increase the gas limit per EIP-7935. Thanks @Amxx! (#7813)v3.1.2Compare Source
Patch Changes
3575a52: Bumped EDR version to0.12.0-next.21.Minor Changes
44e779c: Added function-level configuration overrides for Solidity testsPatch Changes
NomicFoundation/edr@
b5ad15c: Added support for instrumentation of Solidity0.8.32and0.8.33fd70728: Bumped EDR version to0.12.0-next.20.Patch Changes
34e1ab4: Updated base mainnet eip1559 parameters after SystemConfig update on 2025-12-182272bc0: Fixed excess_blob_gas calculation after Osakav3.1.1Compare Source
Patch Changes
01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with--snapshotand--snapshot-checkflags (#7769)e37f96c: AddTestRunResulttype that wrapsTestSummary, allowing plugins to extend test results with additional databda5a0a: Bumped EDR version to0.12.0-next.28v3.1.0Compare Source
Minor Changes
7b851f3: Bumped EDR version to0.12.0-next.17Patch Changes
7697451: Test summaries are now merged when running multiple test tasks (#7053)a3bf244: Fixed the download of solc, which broke for v0.8.31v3.0.17Compare Source
Patch Changes
9f4020b: - Update template projects to ignore local.envfiles but still allow committing.env.examplefiles, thanks @KonstantinosChonas! (7702)a9a47e5: Fixed hex validation patterns, thanks @Bilogweb3 (#7719)b0f37e1: Fixed the network config to re-validate and re-resolvechainTypeonconnect()(#7700).v3.0.16Compare Source
Patch Changes
478ee07: Bumped EDR version to0.12.0-next.16806ee5a: Fixed an issue caused by networks that don't implementeth_feeHistorycorrectly (#7678)f4b7f7e: Fix: use user config provided value fordefaultChainType(#7700)6b2ed9a: Add ability for task options to be hidden from the CLI (#7426)6d10d05: Updatehardforkvalidation and resolution to usedefaultChainTypewhenchainTypeis undefined (#7700)v3.0.15Compare Source
Patch Changes
9fb054a: Fix the initialization of the Mocha and Ethers sample project when using pnpmv3.0.14Compare Source
Patch Changes
3d42a6f: Remove the compilation spinner when the compilation fails52e1eb4: Fix thetest soliditytask's compilation processce5c22a: Fail when a file isn't built neither as contract nor testv3.0.13Compare Source
Patch Changes
6e4ad6d: Fixed unexpected test failure when running in isolate/gas stats mode (#1146)6e4ad6d: Added latest dynamic base fee parameters to Base Mainnet chain config (#1141)v3.0.12Compare Source
Patch Changes
147f8a6: Improved the look and feel of compilation output (#7669)50ce3e0: Fix a bug that could lead to different builds having the same build id. Note that this version will change how every build id is computed.31f0b03: Don't compile solidity tests files when not needed (#7669)a77c06a: Added a new minimal sample projectv3.0.11Compare Source
Patch Changes
a4733f6: AdddefineConfiginhardhat/config52d9902: Fix package manager detectiond45234d: Fixed Etherscan verification failures by removing hardcoded v1 API URLs from chain descriptors (#7623). Also enhanced config resolution to support partial overrides in block explorer configurations for future extensibility.v3.0.10Compare Source
Patch Changes
fe28daf: Added support for showing gas statistics after running tests (#7472 and #7503)1ab6b75: Optimism ISTHMUS hardfork support added to Hardhat (#7517)5e64246: Improved JS/TS test tasks to not compile Solidity tests (#7626)217a1a8: Fix arbitrum sepolia chain id in chain descriptors (thanks @aelmanaa!)8a03bd0: Fixed gas calculation for EIP-7702 refunds (#7606)8a03bd0: Make all parameters ofeth_feeHistoryrpc call required (#7606)v3.0.9Compare Source
Patch Changes
0ee442d: All test runners now set NODE_ENV to "test" in case it is not set before the tests start (#7511)b27b924: Fix bug in flatten task where ordering was incorrect (#7586)v3.0.8Compare Source
Patch Changes
d2c9a7f: Don't swallow the original error when trying to improve installation error messages (#7569)ec50793: ValidateinitialBaseFeePerGasagainst hardfork only for L1 chain type (#6181)v3.0.7Compare Source
Patch Changes
138d673: Addednetwork.createServer(...)to spawn a Hardhat node programmatically (#6472)d414eda: Added support for conditional dependencies on plugins (#7424)138d673: Added support for compiling solidity tests separately from contracts (#6474)e17972f: Addedhre.versionswith Hardhat and EDR package versions.34add2d: Added configVariable support for test.solidity.forking configb13620a: Added compilation progress spinner to show build progress (#7460)4c65d3e: Automatically add compilation results to a runningnpx hardhat nodeon recompilation (#6040)138d673: Updated EDR to version0.12.0-next.7d821a0a: Fixed npm artifact cleanup on windows (#7459)138d673: Fixed creation of network connections to include config extensions from plugins (#7106)v3.0.6Compare Source
Patch Changes
609d05c: Add deprecation warning fortestFail_*test functions8c1cb1e: Fixed dependencies for Hardhat sorpcutils can be loaded (#7415)v3.0.5Compare Source
Patch Changes
bebf87c: Added support for Linea network verification, thanks @kyzooghost (#7357)0bfe6ac: Fixed coverage report when loading data from large test suites (#7385)be469d6: Display an error message when attempting to use a global hardhat installation in a local repo (#5362)49cc9ba: Load resolved global options into environment variables during tests (#7305)8d3b16c: Support for custom compilers (#7130)a475780: Added automatic proxy detection forhardhat-verifyand fixed case-insensitive proxy environment variables for network requests (#7407)3996886: FixedgetBuildInfoPathandgetBuildInfoOutputPathto correctly return undefined when build info files are missing 7052v3.0.4Compare Source
Patch Changes
af301a8: Update validation for solidity test config (#7205)v3.0.3Compare Source
Patch Changes
34a5bc9: Fixed an issue when making historical calls in a forked network (#7271)e0e658a: Upgraded EDR to 0.12.0-next.5. This brings a fix forexpectEmitcheatcode stack traces and performance improvements from upgrading to REVM 27 (#1063)v3.0.2Compare Source
Patch Changes
d45d544: Fixed passing global network options to node:test and mocha subprocesses (#7248)003e72c: Help message phrasing unified0120e67: Added warning when running with a non-LTS Node version (#7167)9261714: Update npm module regex to include versions in solidity imports (#7308)v3.0.1Compare Source
Patch Changes
9f4020b: - Update template projects to ignore local.envfiles but still allow committing.env.examplefiles, thanks @KonstantinosChonas! (7702)a9a47e5: Fixed hex validation patterns, thanks @Bilogweb3 (#7719)b0f37e1: Fixed the network config to re-validate and re-resolvechainTypeonconnect()(#7700).v3.0.0Compare Source
Major Changes
29cc141: First release of Hardhat 3!v2.28.6: Hardhat v2.28.6Compare Source
This release is a small bug fix for an issue affecting
hardhat-tracerafter ahardhat_reset.Changes
f6d5437: Fixed an issue affecting the hardhat-tracer community plugin causing traces to stop being reported after callinghardhat_reset(#7918)v2.28.5: Hardhat v2.28.5Compare Source
This release is a small enhancement adding
eth_getProofas a JSON-RPC method.Changes
6e1f27c: Added support foreth_getProofas a JSON-RPC method (#7933)v2.28.4: Hardhat v2.28.4Compare Source
This release is a small bug fix to allow
hardhat_resetto switch from local to forking mode.Changes
32f29d6: Fixed bug inhardhat_resetwhen switching from local to fork mode (#7834)v2.28.3: Hardhat v2.28.3Compare Source
This release increases the block gas limit to 60,000,000.
Patch Changes
494b2c2: Bumped EDR version to0.12.0-next.22.b5a7b75: Added an API that reports the latest supported Solidity version for source instrumentation893277f: Increase the default block gas limit per EIP-7935. Thanks @Amxx! (#7776)v2.28.2: Hardhat v2.28.2Compare Source
This release adds support for Solidity
0.8.32and0.8.33.Patch Changes
e6ddffc: Bumped EDR version to0.12.0-next.21.34e1ab4: Updated base mainnet eip1559 parameters after SystemConfig update on 2025-12-182272bc0: Fixed excess_blob_gas calculation after Osaka44e779c: Added function-level configuration overrides for Solidity testsb5ad15c: Added support for instrumentation of Solidity0.8.32and0.8.33[
v2.28.1](https://redirect.github.com/NomicFoundation/harConfiguration
📅 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.