paypr / ethereum-contracts

Solidity contracts support the Paypr ecosystem
Other
1 stars 1 forks source link

chore(deps): update dependency hardhat to v2.22.9 #266

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hardhat (source) 2.13.1 -> 2.22.9 age adoption passing confidence

Release Notes

nomiclabs/hardhat (hardhat) ### [`v2.22.9`](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.8...hardhat@2.22.9) [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.8...hardhat@2.22.9) ### [`v2.22.8`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.8): Hardhat v2.22.8 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.7...hardhat@2.22.8) This is a small bug fix release to resolve a bug with large responses from `debug_traceTransaction`. ##### Changes - [`f5d5d15`](https://togithub.com/nomiclabs/hardhat/commit/f5d5d15): Fixed an issue with `debug_traceTransaction` when large responses were generated - [`31d9d77`](https://togithub.com/nomiclabs/hardhat/commit/31d9d77): Upgraded EDR to v0.5.2 *** > πŸ’‘ **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs).** *** ### [`v2.22.7`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.7): Hardhat v2.22.7 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.6...hardhat@2.22.7) 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](https://hardhat.org/hardhat-network/docs/reference#enablerip7212). #### Changes - [`f944cd5`](https://togithub.com/nomiclabs/hardhat/commit/f944cd5): Added an `enableRip7212` optional flag to the Hardhat Network config that enables [RIP-7212 (Precompile for secp256r1 Curve Support)](https://togithub.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md). - [`f6ddc92`](https://togithub.com/nomiclabs/hardhat/commit/f6ddc92): Add `debug` logs to Hardhat Network initialization process. - [`6c943bb`](https://togithub.com/nomiclabs/hardhat/commit/6c943bb): Fix message for error HH206, thanks [@​ItsNickBarry](https://togithub.com/ItsNickBarry)! - [`f944cd5`](https://togithub.com/nomiclabs/hardhat/commit/f944cd5): Bumped EDR to [v0.5.0](https://togithub.com/NomicFoundation/edr/releases/tag/%40nomicfoundation%2Fedr%400.5.0). *** > πŸ’‘ **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs).** *** ### [`v2.22.6`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.6): Hardhat v2.22.6 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.5...hardhat@2.22.6) ### Changes - [`cdf0160`](https://togithub.com/nomiclabs/hardhat/commit/cdf0160): Upgrade bundled solcjs - [`3c66da2`](https://togithub.com/nomiclabs/hardhat/commit/3c66da2): Add support for Node v22 - [`9fadc22`](https://togithub.com/nomiclabs/hardhat/commit/9fadc22): Bump EDR to [v0.4.1](https://togithub.com/NomicFoundation/edr/releases/tag/%40nomicfoundation%2Fedr%400.4.1). - [`095faa4`](https://togithub.com/nomiclabs/hardhat/commit/095faa4): Added hardfork histories for Optimim and Arbitrum chains *** > πŸ’‘ **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs).** *** ### [`v2.22.5`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.5): Hardhat v2.22.5 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.4...hardhat@2.22.5) This release re-enables support for `hardhat-tracer` and adds limited support for blob transactions, along with performance improvements and bug fixes. #### Changelog - [`f65dc7c`](https://togithub.com/nomiclabs/hardhat/commit/f65dc7c): Improved the validation of network and forking URLs (thanks [@​kshyun28](https://togithub.com/kshyun28)!) - [`5d46baa`](https://togithub.com/nomiclabs/hardhat/commit/5d46baa): Internal changes to allow `hardhat-tracer` to be re-enabled with Hardhat after the EDR upgrade - [`6e36f3f`](https://togithub.com/nomiclabs/hardhat/commit/6e36f3f): Bump EDR to v0.4.0. This adds support for `eth_maxPriorityFeePerGas`, limited support for blob transactions, improves performance and fixes some bugs. Check out the [v0.4.0 EDR release](https://togithub.com/NomicFoundation/edr/releases/tag/%40nomicfoundation%2Fedr%400.4.0) and [v0.3.8 EDR release](https://togithub.com/NomicFoundation/edr/releases/tag/%40nomicfoundation%2Fedr%400.3.8) for more details. *** > πŸ’‘ **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs).** *** ### [`v2.22.4`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.4): Hardhat v2.22.4 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.3...hardhat@2.22.4) This release includes bug fixes, performance enhancements, and an improvement to the task system to support BigInt arguments. #### Changelog - [`22bcbf5`](https://togithub.com/nomiclabs/hardhat/commit/22bcbf5): Added BigInt task argument type. - [`2c533f0`](https://togithub.com/nomiclabs/hardhat/commit/2c533f0): Bumped EDR dependency to 0.3.7. - [`3203639`](https://togithub.com/nomiclabs/hardhat/commit/3203639): Fixed an issue in the solidity source map decoding module. - [`5d7a604`](https://togithub.com/nomiclabs/hardhat/commit/5d7a604): Fixed an issue with solc version selection. - [`3c6de8f`](https://togithub.com/nomiclabs/hardhat/commit/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`](https://togithub.com/nomiclabs/hardhat/commit/6447e80): Improved performance by reducing back-and-forth with EDR when it's not necessary. *** > πŸ’‘ **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs).** *** ### [`v2.22.3`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.3) [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.2...hardhat@2.22.3) A small bug fix release that improves the error messaging around failed installs of EDR (Hardhat network). ##### Changelog - [`6466e3a`](https://togithub.com/nomiclabs/hardhat/commit/6466e3a): A proper error is now thrown when requiring EDR fails - [`ae62841`](https://togithub.com/nomiclabs/hardhat/commit/ae62841): Upgrade EDR to version [0.3.5](https://togithub.com/NomicFoundation/hardhat/blob/3b36d76a88915de6bb5efd0eb110cc1782c461ca/crates/edr_napi/CHANGELOG.md#035) - [`679d8a5`](https://togithub.com/nomiclabs/hardhat/commit/679d8a5): Report [HH18](https://hardhat.org/hardhat-runner/docs/errors#HH18) to Sentry. *** > πŸ’‘ **The Nomic Foundation is hiring! Check [our open positions](https://www.nomic.foundation/jobs).** *** ### [`v2.22.2`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.2): Hardhat v2.22.2 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.1...hardhat@2.22.2) This release introduces a small change to the initialization process of Hardhat, which makes the task runner more extensible. #### Changelog - [`7876104`](https://togithub.com/nomiclabs/hardhat/commit/7876104): Initialize the Hardhat Runtime Environment before passing the command line arguments. Thanks [@​theethernaut](https://togithub.com/theethernaut)! ### [`v2.22.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.1): Hardhat v2.22.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.22.0...hardhat@2.22.1) This release updates the starter projects available through `hardhat init` to include [Hardhat Ignition](https://hardhat.org/ignition/docs/getting-started#overview) as the default deployment system. ### [`v2.22.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.22.0): Hardhat v2.22.0 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.21.0...hardhat@2.22.0) This release sets [Cancun](https://ethereum.org/en/history/#cancun) as the default hardfork used by the Hardhat Network. ### [`v2.21.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.21.0): Hardhat v2.21.0 β€” Introducing EDR [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.20.1...hardhat@2.21.0) 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: ```shell 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](https://hardhat.org/hardhat-runner/docs/reference/stability-guarantees#node.js-versions-support). ### [`v2.20.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.20.1): Hardhat v2.20.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.20.0...hardhat@2.20.1) This release fixes a bug when `hardhat_setStorageAt` was used in untouched addresses. ### [`v2.20.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.20.0): Hardhat v2.20.0 β€” Cancun [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.19.5...hardhat@2.20.0) 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: ```javascript module.exports = { networks: { hardhat: { hardfork: "cancun", }, }, } ``` Keep in mind that blob transactions are not supported yet. If you need this, please upvote or comment on [this issue](https://togithub.com/NomicFoundation/hardhat/issues/4840). In addition, this release adds support for solc 0.8.24. ### [`v2.19.5`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.19.5): Hardhat v2.19.5 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.19.4...hardhat@2.19.5) This release includes the following changes: - Notify users when a new Hardhat version is available - Fixed a bug during project initialization when using yarn or pnpm - Fixed a race condition that occurred when multiple Hardhat processes ran a compilation at the same time - Added a fix to prevent submitting transactions with 0 priority fee (thanks [@​itsdevbear](https://togithub.com/itsdevbear)!) ### [`v2.19.4`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.19.4): Hardhat v2.19.4 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.19.3...hardhat@2.19.4) This release changes our telemetry to anonymously report the consent response. ### [`v2.19.3`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.19.3): Hardhat v2.19.3 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.19.2...hardhat@2.19.3) This release adds support for solc 0.8.23. It also includes a temporary informative message about the ongoing [2023 Solidity Survey](https://cryptpad.fr/form/#/2/form/view/pV-DdryeJoYUWvW+gXsFaMNynEY7t5mUsgeD1urgwSE). ### [`v2.19.2`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.19.2): Hardhat v2.19.2 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.19.1...hardhat@2.19.2) This release adds experimental support for ESM in typescript projects. In addition to that, the [`hardhat-shorthand` tool (hh)](https://hardhat.org/hardhat-runner/docs/guides/command-line-completion) now supports [scoped tasks](https://hardhat.org/hardhat-runner/docs/advanced/create-task#scoped-tasks). ### [`v2.19.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.19.1): Hardhat v2.19.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.19.0...hardhat@2.19.1) This release fixes a couple of issues: - A problem in low-traffic chains that resulted in txs using a `maxPriorityFeePerGas` of 0, which were then rejected by the node. - A bug in the compiler downloader that was triggered in big projects that used many different versions of solc. Besides that, the project initialization now uses the latest version of the Hardhat Toolboxes. ### [`v2.19.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.19.0): Hardhat v2.19.0 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.18.3...hardhat@2.19.0) 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](https://www.npmjs.com/package/dotenv), but are more flexible and powerful. Read [our guide](https://hardhat.org/hardhat-runner/docs/guides/configuration-variables) to learn more. This version also adds support for [solc v0.8.22](https://togithub.com/ethereum/solidity/releases/tag/v0.8.22). ### [`v2.18.3`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.18.3): Hardhat v2.18.3 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.18.2...hardhat@2.18.3) This release adds [`ignition deploy`](https://hardhat.org/ignition) to our telemetry-reported tasks. ### [`v2.18.2`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.18.2): Hardhat v2.18.2 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.18.1...hardhat@2.18.2) This releases fixes a problem with Hardhat's compiler download caused by a fix in the [latest version](https://togithub.com/nodejs/undici/releases/tag/v5.26.4) of undici. ### [`v2.18.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.18.1): Hardhat v2.18.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.18.0...hardhat@2.18.1) 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](https://medium.com/nomic-foundation-blog/hardhat-viem-808a536dcfe6). 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`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.18.0): Hardhat v2.18.0 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.17.4...hardhat@2.18.0) This version of Hardhat adds support for [scoped tasks](https://hardhat.org/hardhat-runner/docs/advanced/create-task#scoped-tasks). You can now create scopes to group multiple tasks that are related in some way: ```typescript const myScope = scope("my-scope", "Scope description"); myScope.task("my-task", "Do something") .setAction(async () => { ... }); myScope.task("my-other-task", "Do something else") .setAction(async () => { ... }); ``` Thanks to [@​zemse](https://togithub.com/zemse), who kickstarted the work on this! ### [`v2.17.4`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.17.4): Hardhat v2.17.4 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.17.3...hardhat@2.17.4) This version of Hardhat adds support for the `debug_traceCall` method. Besides that, Hardhat projects are now initialized with `npx hardhat init` instead of `npx hardhat`. The latter command still works but it will produce a warning. See [https://github.com/NomicFoundation/hardhat/issues/2594](https://togithub.com/NomicFoundation/hardhat/issues/2594) for the rationale behind this change. ### [`v2.17.3`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.17.3): Hardhat v2.17.3 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.17.2...hardhat@2.17.3) This version of Hardhat changes the default `evmVersion` to `paris` for solc versions newer than or equal to 0.8.20. Starting from version [0.8.20](https://soliditylang.org/blog/2023/05/10/solidity-0.8.20-release-announcement), 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](https://canipush0.com/) 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: ```js module.exports = { solidity: { version: "0.8.20", settings: { evmVersion: "shanghai", }, }, }; ``` ### [`v2.17.2`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.17.2): Hardhat v2.17.2 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.17.1...hardhat@2.17.2) This release includes several fixes and some new features: - Added support for state overrides in the `eth_call` RPC method - Added an `enableTransientStorage` option to enable EIP-1153 opcodes - Deprecated the `TASK_COMPILE_TRANSFORM_IMPORT_NAME` subtask, added a new `TASK_COMPILE_GET_REMAPPINGS` subtask, and added support for remappings in the resolver. - Fixed a problem that was causing `debug_traceTransaction` to return traces where the memory had a lot of empty words - Fixed an issue where `artifactExists` would throw an error for missing artifacts - Improved the error message displayed when importing a directory instead of a file - Fixed a problem with receipts of remote transactions returning the wrong tx type when fetched through a fork ### [`v2.17.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.17.1): Hardhat v2.17.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.17.0...hardhat@2.17.1) This release adds support for [solc v0.8.21](https://soliditylang.org/blog/2023/07/19/solidity-0.8.21-release-announcement), allows using `console.log` in pure functions and improves the output of the flatten task (see [https://github.com/NomicFoundation/hardhat/issues/1499](https://togithub.com/NomicFoundation/hardhat/issues/1499)). Besides that, this version: - Removed an unnecessary dependency (`abort-controller`) because it's no longer needed in the versions of node.js supported by Hardhat (thanks [@​orlandoortegajr](https://togithub.com/orlandoortegajr)!) - Fixed a bug caused by nodes returning 429 responses without a `Retry-After` header (thanks [@​kowalski](https://togithub.com/kowalski)!) - Added logic to throw an error when the `debug_traceTransaction` method is called with a tracer parameter that is not supported. ### [`v2.17.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.17.0): Hardhat v2.17.0 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.16.1...hardhat@2.17.0) 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](https://hardhat.org/hardhat-runner/docs/reference/stability-guarantees#node.js-versions-support). This version also adds support for solc 0.8.19 and 0.8.20 and fixes two bugs: - A long-standing issue related to our compilation pipeline (see [https://github.com/NomicFoundation/hardhat/issues/1117](https://togithub.com/NomicFoundation/hardhat/issues/1117)). - A problem when forking other local development networks whose latest block number has a low value (issue [https://github.com/NomicFoundation/hardhat/issues/1568](https://togithub.com/NomicFoundation/hardhat/issues/1568)). ### [`v2.16.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.16.1): Hardhat v2.16.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.16.0...hardhat@2.16.1) 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`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.16.0): Hardhat v2.16.0 - Extendable providers [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.15.0...hardhat@2.16.0) 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: ```js extendProvider(async (provider, config, network) => { const newProvider = new MyProviderWrapper(provider); return newProvider; }); ``` 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"](https://hardhat.org/hardhat-runner/docs/advanced/building-plugins#extending-the-hardhat-provider) section in our docs. If you have questions about how to use this, please open a [new discussion](https://togithub.com/NomicFoundation/hardhat/discussions/new?category=troubleshooting). #### Other changes Besides this new feature, this version includes the following changes: - `console.sol` is now memory-safe (thanks [@​ZumZoom](https://togithub.com/ZumZoom)!) - Added optional params to some compilation subtasks to make them more flexible (thanks [@​adjisb](https://togithub.com/adjisb)!) - Added a HARDHAT_DISABLE_TELEMETRY_PROMPT environment variable that can be set to `true` to prevent Hardhat from showing the telemetry consent prompt - The opt-in telemetry is now done using Google Analytics 4 ### [`v2.15.0`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.15.0): Hardhat v2.15.0 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.14.1...hardhat@2.15.0) This new version of Hardhat uses the new ethers v6 based Toolbox when initializing a project. Check [the release notes](https://togithub.com/NomicFoundation/hardhat/releases/tag/%40nomicfoundation%2Fhardhat-toolbox%403.0.0) of the Toolbox to learn more. ### [`v2.14.1`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.14.1): Hardhat v2.14.1 [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.14.0...hardhat@2.14.1) 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`](https://togithub.com/NomicFoundation/hardhat/releases/tag/hardhat%402.14.0): Hardhat v2.14.0 β€” Shanghai [Compare Source](https://togithub.com/nomiclabs/hardhat/compare/hardhat@2.13.1...hardhat@2.14.0) This release sets [Shanghai](https://ethereum.org/en/history/#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: ```js module.exports = { networks: { hardhat: { hardfork: "merge" } } } ```

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.

coderabbitai[bot] commented 4 months ago

Walkthrough

This update involves modifying the hardhat dependency version in the package.json file from 2.13.1 to 2.22.9. This change is expected to bring new features, improvements, and bug fixes, potentially enhancing the project's functionality and compatibility within the Ethereum development ecosystem.

Changes

File Change Summary
package.json Updated hardhat version from 2.13.1 to 2.22.8 and subsequently to 2.22.9

Poem

πŸ‡ In a meadow green and bright,
A rabbit hops with pure delight.
Hardhat's grown, a version new,
Enhancing work we love to do!
With features fresh, we leap and cheer,
For brighter paths, we hold so dear! 🌼✨


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?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` 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) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.