Skip to content
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.5 #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

nomiclabs/hardhat (hardhat)

v2.22.5

Compare Source

v2.22.4: Hardhat v2.22.4

Compare 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.

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.3

Compare Source

A small bug fix release that improves the error messaging around failed installs of EDR (Hardhat network).

Changelog

💡 The Nomic Foundation is hiring! Check our open positions.


v2.22.2: Hardhat v2.22.2

Compare 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.1

Compare 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.0

Compare Source

This release sets Cancun as the default hardfork used by the Hardhat Network.

v2.21.0: Hardhat v2.21.0 — Introducing EDR

Compare 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.1

Compare Source

This release fixes a bug when hardhat_setStorageAt was used in untouched addresses.

v2.20.0: Hardhat v2.20.0 — Cancun

Compare 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:

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.

In addition, this release adds support for solc 0.8.24.

v2.19.5: Hardhat v2.19.5

Compare Source

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!)

v2.19.4: Hardhat v2.19.4

Compare Source

This release changes our telemetry to anonymously report the consent response.

v2.19.3: Hardhat v2.19.3

Compare 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.2

Compare 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.1

Compare Source

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: Hardhat v2.19.0

Compare 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.3

Compare Source

This release adds ignition deploy to our telemetry-reported tasks.

v2.18.2: Hardhat v2.18.2

Compare 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.1

Compare 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.0

Compare 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:

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, who kickstarted the work on this!

v2.17.4: Hardhat v2.17.4

Compare Source

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 for the rationale behind this change.

v2.17.3: Hardhat v2.17.3

Compare Source

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, 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:

module.exports = {
  solidity: {
    version: "0.8.20",
    settings: {
      evmVersion: "shanghai",
    },
  },
};

v2.17.2: Hardhat v2.17.2

Compare Source

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: Hardhat v2.17.1

Compare 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:

  • Removed an unnecessary dependency (abort-controller) because it's no longer needed in the versions of node.js supported by Hardhat (thanks @​orlandoortegajr!)
  • Fixed a bug caused by nodes returning 429 responses without a Retry-After header (thanks @​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: Hardhat v2.17.0

Compare 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.1

Compare 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 providers

Compare 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:

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" 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!)
  • Added optional params to some compilation subtasks to make them more flexible (thanks @​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: Hardhat v2.15.0

Compare 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.1

Compare 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.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 59ddf5b to 8e65733 Compare September 10, 2023 01:58
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.17.2 chore(deps): update dependency hardhat to v2.17.3 Sep 11, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 8e65733 to bcf4bc6 Compare September 11, 2023 12:33
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.17.3 chore(deps): update dependency hardhat to v2.17.4 Sep 27, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from bcf4bc6 to c5d6dfc Compare September 27, 2023 09:42
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.33%. Comparing base (430aade) to head (d6e901c).

❗ Current head d6e901c differs from pull request most recent head f3c8619. Consider uploading reports for the commit f3c8619 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   93.33%   99.33%   +6.00%     
==========================================
  Files           2        2              
  Lines         150      150              
==========================================
+ Hits          140      149       +9     
+ Misses         10        1       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.17.4 chore(deps): update dependency hardhat to v2.18.0 Oct 5, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from c5d6dfc to 2f532c9 Compare October 5, 2023 15:58
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.18.0 chore(deps): update dependency hardhat to v2.18.1 Oct 11, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 2f532c9 to 7c942c3 Compare October 11, 2023 16:25
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 7c942c3 to f3bce40 Compare October 19, 2023 11:22
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.18.1 chore(deps): update dependency hardhat to v2.18.2 Oct 19, 2023
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.18.2 chore(deps): update dependency hardhat to v2.18.3 Oct 25, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from f3bce40 to 5d12c13 Compare October 25, 2023 01:16
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.18.3 chore(deps): update dependency hardhat to v2.19.0 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 5d12c13 to 79275d6 Compare November 2, 2023 18:40
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.19.0 chore(deps): update dependency hardhat to v2.19.1 Nov 15, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 79275d6 to f7de84a Compare November 15, 2023 13:27
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.19.1 chore(deps): update dependency hardhat to v2.19.2 Dec 5, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from f7de84a to 4e0da5c Compare December 5, 2023 19:01
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 4e0da5c to d44ee2e Compare December 19, 2023 10:45
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.19.2 chore(deps): update dependency hardhat to v2.19.3 Dec 19, 2023
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.19.3 chore(deps): update dependency hardhat to v2.19.4 Dec 26, 2023
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from d44ee2e to df4b57b Compare December 26, 2023 13:07
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from df4b57b to d6e901c Compare January 30, 2024 19:48
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.19.4 chore(deps): update dependency hardhat to v2.19.5 Jan 30, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from d6e901c to 692ca04 Compare February 14, 2024 16:32
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.19.5 chore(deps): update dependency hardhat to v2.20.0 Feb 14, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 692ca04 to d5deb11 Compare February 15, 2024 17:13
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.20.0 chore(deps): update dependency hardhat to v2.20.1 Feb 15, 2024
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.20.1 chore(deps): update dependency hardhat to v2.21.0 Mar 4, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from d5deb11 to 8f34407 Compare March 4, 2024 16:46
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 8f34407 to b5110e4 Compare March 13, 2024 22:58
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.21.0 chore(deps): update dependency hardhat to v2.22.0 Mar 13, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from b5110e4 to 6a87b1c Compare March 14, 2024 16:39
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.22.0 chore(deps): update dependency hardhat to v2.22.1 Mar 14, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 6a87b1c to f3c8619 Compare March 21, 2024 17:28
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.22.1 chore(deps): update dependency hardhat to v2.22.2 Mar 21, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from f3c8619 to b6e224d Compare April 17, 2024 15:18
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.22.2 chore(deps): update dependency hardhat to v2.22.3 Apr 17, 2024
@codecov-commenter
Copy link

codecov-commenter commented Apr 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.33%. Comparing base (430aade) to head (d6e901c).

Current head d6e901c differs from pull request most recent head 77c85c8

Please upload reports for the commit 77c85c8 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   93.33%   99.33%   +6.00%     
==========================================
  Files           2        2              
  Lines         150      150              
==========================================
+ Hits          140      149       +9     
+ Misses         10        1       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from b6e224d to 6d4fec1 Compare May 14, 2024 19:23
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.22.3 chore(deps): update dependency hardhat to v2.22.4 May 14, 2024
@renovate renovate bot force-pushed the renovate/hardhat-2.x-lockfile branch from 6d4fec1 to 77c85c8 Compare June 3, 2024 13:25
@renovate renovate bot changed the title chore(deps): update dependency hardhat to v2.22.4 chore(deps): update dependency hardhat to v2.22.5 Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant