Skip to content

chore(deps): update dependency hardhat to v2.24.2#133

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/hardhat-packages
Jun 4, 2025
Merged

chore(deps): update dependency hardhat to v2.24.2#133
renovate[bot] merged 1 commit intomainfrom
renovate/hardhat-packages

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 4, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
hardhat (source) dependencies patch 2.24.1 -> 2.24.2 OpenSSF Scorecard

Release Notes

nomiclabs/hardhat (hardhat)

v2.24.2: Hardhat v2.24.2

Compare Source

This release is a small bug fix to deal with nodes that have deprecated support for the eth_accounts RPC call.

Changes
  • 2bbb705: Wrap eth_accounts usage on http provider to handle method deprecation (#​6632)

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



Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

Summary by Sourcery

Upgrade Hardhat to v2.24.2 to incorporate a patch for handling deprecated eth_accounts RPC calls.

Bug Fixes:

  • Wrap eth_accounts usage on HTTP provider to handle method deprecation.

Build:

  • Bump hardhat dependency from v2.24.1 to v2.24.2.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added the dependencies label Jun 4, 2025
@renovate renovate Bot enabled auto-merge (squash) June 4, 2025 17:08
@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Jun 4, 2025

Reviewer's Guide

Bumps the Hardhat dependency from v2.24.1 to v2.24.2 by updating the version in package.json and regenerating the lockfile to pull in the patch that wraps eth_accounts on HTTP providers for deprecated method support.

Sequence Diagram: Hardhat HttpProvider Handling Deprecated eth_accounts

sequenceDiagram
    actor Developer
    participant HardhatProject as Hardhat Project
    participant HttpProvider as Hardhat HttpProvider (v2.24.2)
    participant EthereumNode as Ethereum Node

    Developer->>HardhatProject: Run task requiring accounts (e.g., deploy, test)
    HardhatProject->>HttpProvider: Request accounts
    HttpProvider->>EthereumNode: Call eth_accounts RPC method
    alt Node has deprecated eth_accounts
        HttpProvider->>HttpProvider: Apply new logic to handle deprecated eth_accounts
        EthereumNode-->>HttpProvider: Response indicating deprecation (e.g., error, empty list)
        HttpProvider-->>HardhatProject: Accounts (e.g., from alternative source, or empty) or Processed Error
    else Node supports eth_accounts (legacy behavior)
        EthereumNode-->>HttpProvider: Accounts list
        HttpProvider-->>HardhatProject: Accounts list
    end
    HardhatProject-->>Developer: Task result (e.g., deployment status, test results)
Loading

File-Level Changes

Change Details Files
Upgrade Hardhat to v2.24.2
  • Update hardhat version string in package.json from 2.24.1 to 2.24.2
  • Regenerate bun.lock entries to reflect updated dependency
package.json
bun.lock

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2025

📦 Packages

Package Install
Template Set bun add @settlemint/settlemint/solidity-token-erc721@8.0.9-pr8cd74b5

@renovate renovate Bot merged commit 80d58df into main Jun 4, 2025
3 checks passed
@renovate renovate Bot deleted the renovate/hardhat-packages branch June 4, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants