Skip to content

Conversation

renovate[bot]
Copy link
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

Chores:

  • Bump Hardhat dependency from 2.24.1 to 2.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 13:51
Copy link

sourcery-ai bot commented Jun 4, 2025

Reviewer's Guide

Bumps Hardhat from v2.24.1 to v2.24.2 to include a small upstream bug fix for deprecated eth_accounts RPC calls; this is implemented by updating the dependency version in package.json and regenerating the lockfile.

Sequence Diagram: Hardhat v2.24.2 Handling of Deprecated eth_accounts

sequenceDiagram
    actor UserOrScript as "User / Script"
    participant HardhatLib as "Hardhat Library"
    participant HttpProvider as "Hardhat HTTP Provider (v2.24.2)"
    participant EthNode as "Ethereum Node"

    UserOrScript->>HardhatLib: Initiate operation (e.g., get accounts, send transaction)
    HardhatLib->>HttpProvider: Needs accounts / Performs action using accounts
    HttpProvider->>EthNode: eth_accounts
    alt Node has deprecated eth_accounts
        EthNode-->>HttpProvider: Error / Deprecation Signal
        HttpProvider->>HttpProvider: Apply wrapper logic for deprecated eth_accounts
        HttpProvider-->>HardhatLib: Accounts (if resolved by wrapper) or appropriate status
    else Node supports eth_accounts
        EthNode-->>HttpProvider: Accounts List
        HttpProvider-->>HardhatLib: Accounts List
    end
    HardhatLib-->>UserOrScript: Operation Result
Loading

File-Level Changes

Change Details Files
Update Hardhat dependency to v2.24.2
  • Modify hardhat version in package.json
  • Regenerate bun.lock to capture new dependency tree
  • Integrate upstream fix for eth_accounts deprecation
package.json
bun.lock

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

Copy link

github-actions bot commented Jun 4, 2025

📦 Packages

Package Install
Template Set bun add @settlemint/settlemint/[email protected]

@renovate renovate bot merged commit f8da744 into main Jun 4, 2025
3 checks passed
@renovate renovate bot deleted the renovate/hardhat-packages branch June 4, 2025 14:00
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