Skip to content

Conversation

@Wodann
Copy link
Member

@Wodann Wodann commented Jan 7, 2025

This PR tracks changes needed to backport EDR's multi-chain architecture to Hardhat 2.

After merging this PR, Hardhat will no longer support smock, as per the maintainer's own archival of the repo.

@Wodann Wodann self-assigned this Jan 7, 2025
@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2025

🦋 Changeset detected

Latest commit: a9e020c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
hardhat Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 3:45pm

@alcuadrado alcuadrado added v-next A Hardhat v3 development task and removed v-next A Hardhat v3 development task labels Jan 12, 2025
@Wodann Wodann force-pushed the feat/multichain branch from d9167b1 to 1ed3d9b Compare April 4, 2025 17:25
@Wodann Wodann force-pushed the feat/multichain branch from 1ed3d9b to 0ddd8bd Compare April 7, 2025 17:46
@Wodann Wodann force-pushed the feat/multichain branch from 1a9e584 to 2592207 Compare May 15, 2025 20:46
@kanej kanej changed the base branch from main to v2 August 11, 2025 18:56
@michalbrabec michalbrabec linked an issue Aug 14, 2025 that may be closed by this pull request
@Wodann Wodann marked this pull request as ready for review October 2, 2025 13:46
@Wodann Wodann requested a review from a team October 2, 2025 13:48
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​nomicfoundation/​edr@​0.12.0-next.7991007389100

View full report

}

let returnValue = rpcDebugTrace.output?.toString("hex") ?? "";
let returnValue = rpcDebugTrace.output?.toString() ?? "";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This chnge surprised me because it looks wrong but it actually works fine.

Why it looks wrong: the type of rpcDebugTrace.output is allegedly Uint8Array (see here). But the .toString method of Uint8Array does not format the result in hexadecimal.

Why it works: the actual value received here is a string. Calling .toString on a string just returns the same value. That string is already a hex representation of the output.

This is not a blocker, but seems worth investigating. Why is EDR's index.d.ts wrong?

@kanej kanej merged commit 57c509d into v2 Nov 6, 2025
177 checks passed
@kanej kanej deleted the feat/multichain branch November 6, 2025 12:39
@github-project-automation github-project-automation bot moved this to Done in Hardhat Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Backport, test and release multi-chain EDR in Hardhat 2

7 participants