-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency hardhat to v2.22.9 #192
base: main
Are you sure you want to change the base?
Conversation
2e73214
to
211a197
Compare
211a197
to
7fa90a0
Compare
7fa90a0
to
ef8abc7
Compare
ef8abc7
to
14628e5
Compare
508b0fa
to
090bfd8
Compare
2421854
to
fde494a
Compare
fde494a
to
d48f4c3
Compare
d48f4c3
to
8ac2ec1
Compare
51fb69a
to
1fc05e0
Compare
1fc05e0
to
fe4cfd7
Compare
fe4cfd7
to
a87ce24
Compare
a87ce24
to
761eb16
Compare
761eb16
to
0a2c357
Compare
0a2c357
to
4604e38
Compare
4604e38
to
af1d3d2
Compare
18a94e4
to
10ddcf6
Compare
10ddcf6
to
c995d29
Compare
WalkthroughThe primary change involves updating the Hardhat dependency in the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
c995d29
to
454a346
Compare
454a346
to
6266a92
Compare
aa370fc
to
b6107d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
package-lock.json
is excluded by!**/package-lock.json
Files selected for processing (1)
- package.json (1 hunks)
Additional comments not posted (1)
package.json (1)
65-65
: Dependency Update: Verify compatibility with Hardhat v2.22.8The Hardhat dependency has been updated from version
2.13.1
to2.22.8
. Ensure that the new version does not introduce breaking changes or require additional configuration updates.
b6107d8
to
d35162a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
package-lock.json
is excluded by!**/package-lock.json
Files selected for processing (1)
- package.json (1 hunks)
Additional comments not posted (1)
package.json (1)
65-65
: Verify compatibility and test the Hardhat update.The
hardhat
dependency has been updated to version2.22.9
. Ensure that all scripts and configurations remain compatible with this new version.Run the following script to check for any breaking changes or issues:
This PR contains the following updates:
2.13.1
->2.22.9
Release Notes
nomiclabs/hardhat (hardhat)
v2.22.9
Compare Source
v2.22.8
: Hardhat v2.22.8Compare Source
This is a small bug fix release to resolve a bug with large responses from
debug_traceTransaction
.Changes
f5d5d15
: Fixed an issue withdebug_traceTransaction
when large responses were generated31d9d77
: Upgraded EDR to v0.5.2v2.22.7
: Hardhat v2.22.7Compare Source
This releases add support for RIP-7212 (Precompile for secp256r1 Curve Support). See the Hardhat network reference for details on how to enable the precompile.
Changes
f944cd5
: Added anenableRip7212
optional flag to the Hardhat Network config that enables RIP-7212 (Precompile for secp256r1 Curve Support).f6ddc92
: Adddebug
logs to Hardhat Network initialization process.6c943bb
: Fix message for error HH206, thanks @ItsNickBarry!f944cd5
: Bumped EDR to v0.5.0.v2.22.6
: Hardhat v2.22.6Compare Source
Changes
cdf0160
: Upgrade bundled solcjs3c66da2
: Add support for Node v229fadc22
: Bump EDR to v0.4.1.095faa4
: Added hardfork histories for Optimim and Arbitrum chainsv2.22.5
: Hardhat v2.22.5Compare Source
This release re-enables support for
hardhat-tracer
and adds limited support for blob transactions, along with performance improvements and bug fixes.Changelog
f65dc7c
: Improved the validation of network and forking URLs (thanks @kshyun28!)5d46baa
: Internal changes to allowhardhat-tracer
to be re-enabled with Hardhat after the EDR upgrade6e36f3f
: Bump EDR to v0.4.0. This adds support foreth_maxPriorityFeePerGas
, limited support for blob transactions, improves performance and fixes some bugs. Check out the v0.4.0 EDR release and v0.3.8 EDR release for more details.v2.22.4
: Hardhat v2.22.4Compare Source
This release includes bug fixes, performance enhancements, and an improvement to the task system to support BigInt arguments.
Changelog
22bcbf5
: Added BigInt task argument type.2c533f0
: Bumped EDR dependency to 0.3.7.3203639
: Fixed an issue in the solidity source map decoding module.5d7a604
: Fixed an issue with solc version selection.3c6de8f
: Now solcjs is run in a subprocess, which leads to better error reporting and allows it to run multiple compilation jobs at the same time.6447e80
: Improved performance by reducing back-and-forth with EDR when it's not necessary.v2.22.3
Compare Source
A small bug fix release that improves the error messaging around failed installs of EDR (Hardhat network).
Changelog
6466e3a
: A proper error is now thrown when requiring EDR failsae62841
: Upgrade EDR to version 0.3.5679d8a5
: Report HH18 to Sentry.v2.22.2
: Hardhat v2.22.2Compare Source
This release introduces a small change to the initialization process of Hardhat, which makes the task runner more extensible.
Changelog
7876104
: Initialize the Hardhat Runtime Environment before passing the command line arguments. Thanks @theethernaut!v2.22.1
: Hardhat v2.22.1Compare Source
This release updates the starter projects available through
hardhat init
to include Hardhat Ignition as the default deployment system.v2.22.0
: Hardhat v2.22.0Compare Source
This release sets Cancun as the default hardfork used by the Hardhat Network.
v2.21.0
: Hardhat v2.21.0 — Introducing EDRCompare Source
This version of Hardhat marks the debut of EDR (Ethereum Development Runtime), our new Rust-based runtime that is a complete rewrite of the original TypeScript-based Hardhat Network. This release lays a new long-term foundation for Hardhat's evolution over the coming year.
There are no functional changes, but there are some performance improvements across the board, which we’ll continue to expand in future updates.
Given the significance of this internal change, there’s a possibility of bugs. If you encounter any problems specific to this version, please report them by opening an issue. You should be able to downgrade to v2.20.1 without losing functionality if needed.
solidity-coverage out-of-memory issues
The
solidity-coverage
plugin works by heavily instrumenting the code, which sometimes causes OOM (out-of-memory) issues. This new version of Hardhat can, in certain cases, make those problems more likely.If you run into this, you can fix it by using Node.js’s
--max-old-space-size
flag:NODE_OPTIONS="--max-old-space-size=8192" npx hardhat coverage
Dropping support for Node.js v16
As part of this release, we are dropping support for Node.js v16. This version of Node.js reached its end-of-life in September of last year. You can learn more about our support guarantees here.
v2.20.1
: Hardhat v2.20.1Compare Source
This release fixes a bug when
hardhat_setStorageAt
was used in untouched addresses.v2.20.0
: Hardhat v2.20.0 — CancunCompare Source
This release adds support for the upcoming
cancun
hardfork. This hardfork is not enabled by default; if you want to use it, then you have to enable it in your Hardhat config:Keep in mind that blob transactions are not supported yet. If you need this, please upvote or comment on this issue.
In addition, this release adds support for solc 0.8.24.
v2.19.5
: Hardhat v2.19.5Compare Source
This release includes the following changes:
v2.19.4
: Hardhat v2.19.4Compare Source
This release changes our telemetry to anonymously report the consent response.
v2.19.3
: Hardhat v2.19.3Compare Source
This release adds support for solc 0.8.23. It also includes a temporary informative message about the ongoing 2023 Solidity Survey.
v2.19.2
: Hardhat v2.19.2Compare Source
This release adds experimental support for ESM in typescript projects.
In addition to that, the
hardhat-shorthand
tool (hh) now supports scoped tasks.v2.19.1
: Hardhat v2.19.1Compare Source
This release fixes a couple of issues:
maxPriorityFeePerGas
of 0, which were then rejected by the node.Besides that, the project initialization now uses the latest version of the Hardhat Toolboxes.
v2.19.0
: Hardhat v2.19.0Compare Source
This new version of Hardhat introduces a new feature: Configuration Variables!
Configuration variables let you use values in a configuration file without making them part of your project. They work as a replacement for environment variables and dotenv, but are more flexible and powerful. Read our guide to learn more.
This version also adds support for solc v0.8.22.
v2.18.3
: Hardhat v2.18.3Compare Source
This release adds
ignition deploy
to our telemetry-reported tasks.v2.18.2
: Hardhat v2.18.2Compare Source
This releases fixes a problem with Hardhat's compiler download caused by a fix in the latest version of undici.
v2.18.1
: Hardhat v2.18.1Compare Source
This new version of Hardhat includes a new option when initializing a project: you can now start a project that uses Viem instead of ethers. To learn more about this, check our announcement.
This version also makes a small change to the logs shown during compilation: now the targeted EVM version (or versions) is shown.
v2.18.0
: Hardhat v2.18.0Compare Source
This version of Hardhat adds support for scoped tasks.
You can now create scopes to group multiple tasks that are related in some way:
Thanks to @zemse, who kickstarted the work on this!
v2.17.4
: Hardhat v2.17.4Compare Source
This version of Hardhat adds support for the
debug_traceCall
method.Besides that, Hardhat projects are now initialized with
npx hardhat init
instead ofnpx hardhat
. The latter command still works but it will produce a warning. See https://github.com/NomicFoundation/hardhat/issues/2594 for the rationale behind this change.v2.17.3
: Hardhat v2.17.3Compare Source
This version of Hardhat changes the default
evmVersion
toparis
for solc versions newer than or equal to 0.8.20.Starting from version 0.8.20, solc changed the default target EVM version to Shanghai. Among other things, this meant that the generated bytecode could (and most likely would) contain the new
PUSH0
opcode.Up until this point, Hardhat always delegated to solc the decision of which EVM version to target. But there are two things that are different today: many users develop for non-mainnet chains, and not every chain has adopted the Shanghai hardfork yet. This means it's possible that you develop a contract which works locally (Hardhat's default hardfork is still Shanghai, because we follow the current mainnet hardfork) but that then doesn't work after deploying it.
If you are sure you are going to deploy in a network that supports the Shanghai hardfork, you can change the target EVM like this:
v2.17.2
: Hardhat v2.17.2Compare Source
This release includes several fixes and some new features:
eth_call
RPC methodenableTransientStorage
option to enable EIP-1153 opcodesTASK_COMPILE_TRANSFORM_IMPORT_NAME
subtask, added a newTASK_COMPILE_GET_REMAPPINGS
subtask, and added support for remappings in the resolver.debug_traceTransaction
to return traces where the memory had a lot of empty wordsartifactExists
would throw an error for missing artifactsv2.17.1
: Hardhat v2.17.1Compare Source
This release adds support for solc v0.8.21, allows using
console.log
in pure functions and improves the output of the flatten task (see https://github.com/NomicFoundation/hardhat/issues/1499).Besides that, this version:
abort-controller
) because it's no longer needed in the versions of node.js supported by Hardhat (thanks @orlandoortegajr!)Retry-After
header (thanks @kowalski!)debug_traceTransaction
method is called with a tracer parameter that is not supported.v2.17.0
: Hardhat v2.17.0Compare Source
This new minor version of Hardhat drops support for Node.js v14 and adds support for Node v20. To learn about which versions of Node we support, check our Stability guarantees page.
This version also adds support for solc 0.8.19 and 0.8.20 and fixes two bugs:
v2.16.1
: Hardhat v2.16.1Compare Source
This release fixes an issue in the compiler download that happens when Hardhat is used with node v18.16.x (the latest versions of node v18).
v2.16.0
: Hardhat v2.16.0 - Extendable providersCompare Source
This version of Hardhat adds a new extensibility point: you can now wrap Hardhat's network provider with your own logic.
This is done by using the new
extendProvider
configuration function:Doing this means that all the JSON-RPC calls will go through your custom provider wrapper. You can use this to intercept and handle some requests while forwarding the rest to the original provider.
To learn more about this, read the "Extending the Hardhat provider" section in our docs. If you have questions about how to use this, please open a new discussion.
Other changes
Besides this new feature, this version includes the following changes:
console.sol
is now memory-safe (thanks @ZumZoom!)true
to prevent Hardhat from showing the telemetry consent promptv2.15.0
: Hardhat v2.15.0Compare Source
This new version of Hardhat uses the new ethers v6 based Toolbox when initializing a project. Check the release notes of the Toolbox to learn more.
v2.14.1
: Hardhat v2.14.1Compare Source
This release adds better information to Hardhat about which block numbers correspond to which hardforks. Most users won't be affected by this, but it fixes some issues for certain edge cases.
v2.14.0
: Hardhat v2.14.0 — ShanghaiCompare Source
This release sets Shanghai as the default hardfork used by the Hardhat Network.
If for some reason you want to keep using the previous hardfork, set it explicitly in your config:
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.