Repository navigation
build: upgrade Hardhat 2 to @nomicfoundation/edr v0.25.1 - #7985
Conversation
🦋 Changeset detectedLatest commit: 491f433 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
There was a problem hiding this comment.
Pull request overview
This PR upgrades the @nomicfoundation/edr dependency from v0.12.0-next.22 to v0.12.0-next.26, adapting the codebase to handle breaking API changes in the EDR library. The upgrade includes changes to API naming conventions, trace handling mechanisms, and error reporting structures.
Changes:
- Migrated from deprecated
getLatestSupportedSolcVersiontolatestSupportedSolidityVersionAPI - Updated trace handling to use new EDR Response methods (
traces()andstackTrace()as method calls) - Simplified trace conversion functions to work with EDR's new flattened data structures
- Enhanced error handling with discriminated union pattern for stack traces
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
packages/hardhat-core/test/helpers/compilation.ts |
Updated import and usage of renamed Solidity version API |
packages/hardhat-core/test/builtin-tasks/compile.ts |
Updated import and usage of renamed Solidity version API |
packages/hardhat-core/src/internal/hardhat-network/provider/utils/convertToEdr.ts |
Removed deprecated edrRpcDebugTraceToHardhat function; updated trace conversion functions to work with new EDR data structures |
packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts |
Added IncludeTraces configuration; updated trace and stack trace handling to use new method-based API and discriminated unions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
c46cf5b to
72777b3
Compare
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
It calls a removed EDR method and leaves imports that fail linting.
Review effort: Balanced
Findings: 2
Open (4)
Remove unused debug trace imports to fix lint failure · Newobservability.includeCallTracesis enabled, but the code callsresponseObject.traces(). The PR… This branch guards only againstnull, but the earlier optional chaining (stackTrace?.kind)…MinimalInterpreterStep.memoryis optional, but this code always setsmemory(possibly to…
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The provider still calls the removed Response.traces() API, breaking VM trace listeners.
Review effort: Balanced
Findings: 2
Open (4)
Use callTraces() instead of removed Response.traces() · Newobservability.includeCallTracesis enabled, but the code callsresponseObject.traces(). The PR… This branch guards only againstnull, but the earlier optional chaining (stackTrace?.kind)…MinimalInterpreterStep.memoryis optional, but this code always setsmemory(possibly to…
Resolved since last review (1)
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
Review effort: Lite
Findings: 4
Open (9)
stackTraceis guarded withstackTrace?.kindinitially, but in theelsebranch it’s only… · NewstackTraceis guarded withstackTrace?.kindinitially, but in theelsebranch it’s only… · New Use callTraces() instead of removed Response.traces()observability.includeCallTracesis enabled, but the code callsresponseObject.traces(). The PR… EnablingIncludeTraces.AllandrecordStackunconditionally can add significant overhead for… · New This change drops the explicit formatting path fordebug_traceTransaction/debug_traceCall… · New This branch guards only againstnull, but the earlier optional chaining (stackTrace?.kind)…MinimalInterpreterStep.memoryis optional, but this code always setsmemory(possibly to… The function name still suggests it converts to an “EDR spec id”, but it now returns the input… · New
Match the observability config of EDR's hardhat@2.28.6 patch, which also records calls to precompiles.
EDR holds the subscription callback through a threadsafe function. V8 cannot trace through it, so a strong reference to the wrapper roots the wrapper and its provider. The provider's OS thread is then never released. The callback now reaches the wrapper through a `WeakRef`, which replaces the `EdrProviderEventAdapter` indirection. Ported from EDR's Hardhat patch (NomicFoundation/edr#1720).
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, and the debug fixtures in hardhat-tests had been switched to geth's format by f4bdc36. EDR CI therefore tested a format that Hardhat 2 no longer returns. Port the conversion from NomicFoundation/hardhat#7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. Restore the fixtures, the modules/debug tests and assertEqualTraces from f4bdc36^ in the same commit, so every commit keeps the debug tests green. Requests drop enableMemory, since the package captures memory by default. assertEqualTraces loses the empty-memory and refund normalisations that only geth's format needed. It now compares returnValue without the 0x prefix that Hardhat 2 adds, because the fixtures store it unprefixed. The reverted mainnet fixture is exempt, since TurboGeth recorded no return value for it. The zeroed gasCost of call and create steps is dropped. The only such step left, a STATICCALL in the revert fixture, matches EDR's value. The skipped post-London fork case and its fixture are removed instead of restored. The case was skipped for https://github.com/NomicFoundation/hardhat/issues/3519, and the fixture served nothing else. The stale TODO about ethereumjs memory words goes with them. Some later changes still apply and are kept. The tests use ALCHEMY_URL without a non-null assertion, as in d2e5ae8. assertEqualTraces drops the assertions that the stricter eslint preset rejects. The unsupported tracer tests keep the expectations of f4bdc36, because EDR rejects such a tracer as a JavaScript tracer and debug_traceTransaction checks the hash first.
NomicFoundation/hardhat#7985 tests its debug trace conversion with traces recorded from Hardhat 2.29.1 and EDR 0.12.0-next.23. The suite covers storage contexts across calls and creations, reverts, precompile calls and the request options. Copy debug-trace.ts next to the other debug tests and its fixture next to the other debug fixtures. The imports now use the hardhat package and the helpers of hardhat-tests. Every test keeps its title. The suite runs on every provider that PROVIDERS defines.
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, and the debug fixtures in hardhat-tests had been switched to geth's format by f4bdc36. EDR CI therefore tested a format that Hardhat 2 no longer returns. Port the conversion from NomicFoundation/hardhat#7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. Restore the fixtures, the modules/debug tests and assertEqualTraces from f4bdc36^ in the same commit, so every commit keeps the debug tests green. Requests drop enableMemory, since the package captures memory by default. assertEqualTraces loses the empty-memory and refund normalisations that only geth's format needed. It now compares returnValue without the 0x prefix that Hardhat 2 adds, because the fixtures store it unprefixed. The reverted mainnet fixture is exempt, since TurboGeth recorded no return value for it. The zeroed gasCost of call and create steps is dropped. The only such step left, a STATICCALL in the revert fixture, matches EDR's value. The skipped post-London fork case and its fixture are removed instead of restored. The case was skipped for https://github.com/NomicFoundation/hardhat/issues/3519, and the fixture served nothing else. The stale TODO about ethereumjs memory words goes with them. Some later changes still apply and are kept. The tests use ALCHEMY_URL without a non-null assertion, as in d2e5ae8. assertEqualTraces drops the assertions that the stricter eslint preset rejects. The unsupported tracer tests keep the expectations of f4bdc36, because EDR rejects such a tracer as a JavaScript tracer and debug_traceTransaction checks the hash first.
NomicFoundation/hardhat#7985 tests its debug trace conversion with traces recorded from Hardhat 2.29.1 and EDR 0.12.0-next.23. The suite covers storage contexts across calls and creations, reverts, precompile calls and the request options. Copy debug-trace.ts next to the other debug tests and its fixture next to the other debug fixtures. The imports now use the hardhat package and the helpers of hardhat-tests. Every test keeps its title. The suite runs on every provider that PROVIDERS defines.
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, and the debug fixtures in hardhat-tests had been switched to geth's format by f4bdc36. EDR CI therefore tested a format that Hardhat 2 no longer returns. Port the conversion from NomicFoundation/hardhat#7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. Restore the fixtures, the modules/debug tests and assertEqualTraces from f4bdc36^ in the same commit, so every commit keeps the debug tests green. Requests drop enableMemory, since the package captures memory by default. assertEqualTraces loses the empty-memory and refund normalisations that only geth's format needed. It now compares returnValue without the 0x prefix that Hardhat 2 adds, because the fixtures store it unprefixed. The reverted mainnet fixture is exempt, since TurboGeth recorded no return value for it. The zeroed gasCost of call and create steps is dropped. The only such step left, a STATICCALL in the revert fixture, matches EDR's value. The skipped post-London fork case and its fixture are removed instead of restored. The case was skipped for https://github.com/NomicFoundation/hardhat/issues/3519, and the fixture served nothing else. The stale TODO about ethereumjs memory words goes with them. Some later changes still apply and are kept. The tests use ALCHEMY_URL without a non-null assertion, as in d2e5ae8. assertEqualTraces drops the assertions that the stricter eslint preset rejects. The unsupported tracer tests keep the expectations of f4bdc36, because EDR rejects such a tracer as a JavaScript tracer and debug_traceTransaction checks the hash first.
NomicFoundation/hardhat#7985 tests its debug trace conversion with traces recorded from Hardhat 2.29.1 and EDR 0.12.0-next.23. The suite covers storage contexts across calls and creations, reverts, precompile calls and the request options. Copy debug-trace.ts next to the other debug tests and its fixture next to the other debug fixtures. The imports now use the hardhat package and the helpers of hardhat-tests. Every test keeps its title. The suite runs on every provider that PROVIDERS defines.
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, so EDR CI tested a format that Hardhat 2 no longer returns. Port the conversion from #7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. The previous commit restored the Hardhat 2 format fixtures. This commit restores the modules/debug tests and assertEqualTraces from f4bdc36^, so the debug tests are green again. Requests drop enableMemory, since the package captures memory by default. assertEqualTraces loses the geth-only normalisations and the zeroing of call-opcode gas, which EDR now reports as the fixtures do. It compares returnValue without its prefix, except for a failed trace whose fixture recorded none. The skipped post-London fork test goes with its fixture. Some later changes still apply and are kept. The tests use ALCHEMY_URL without a non-null assertion, as in d2e5ae8. assertEqualTraces drops the assertions that the stricter eslint preset rejects. The unsupported tracer tests keep the expectations of f4bdc36, because EDR rejects such a tracer as a JavaScript tracer and debug_traceTransaction checks the hash first.
NomicFoundation/hardhat#7985 tests its debug trace conversion with traces recorded from Hardhat 2.29.1 and EDR 0.12.0-next.23. The suite covers storage contexts across calls and creations, reverts, precompile calls and the request options. Copy debug-trace.ts next to the other debug tests and its fixture next to the other debug fixtures. The imports now use the hardhat package and the helpers of hardhat-tests. Every test keeps its title. The suite runs on every provider that PROVIDERS defines.
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, so EDR CI tested a format that Hardhat 2 no longer returns. Port the conversion from #7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. An earlier commit restored the Hardhat 2 format fixtures. This commit restores the modules/debug tests and assertEqualTraces from f4bdc36^, so the debug tests are green again. Requests drop enableMemory, since the package captures memory by default. assertEqualTraces loses the geth-only normalisations and the zeroing of call-opcode gas, which EDR now reports as the fixtures do. It compares returnValue without its prefix, except for a failed trace whose fixture recorded none. The skipped post-London fork test goes with its fixture. Some later changes still apply and are kept. The tests use ALCHEMY_URL without a non-null assertion, as in d2e5ae8. assertEqualTraces drops the assertions that the stricter eslint preset rejects. The unsupported tracer tests keep the expectations of f4bdc36, because EDR rejects such a tracer as a JavaScript tracer and debug_traceTransaction checks the hash first.
NomicFoundation/hardhat#7985 tests its debug trace conversion with traces recorded from Hardhat 2.29.1 and EDR 0.12.0-next.23. The suite covers storage contexts across calls and creations, reverts, precompile calls and the request options. Copy debug-trace.ts next to the other debug tests and its fixture next to the other debug fixtures. The imports now use the hardhat package and the helpers of hardhat-tests. Every test keeps its title. The suite runs on every provider that PROVIDERS defines.
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, so EDR CI tested a format that Hardhat 2 no longer returns. Port the conversion from #7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. The revert commit restored the Hardhat 2 format fixtures and reversed the test hunks of #1251, so the debug tests are green again from here. assertEqualTraces loses the refund normalisation that only geth's format needed and the zeroing of call-opcode gas, which EDR now reports as the fixtures do. It compares returnValue without its prefix, except for a failed trace whose fixture recorded none. The unsupported tracer tests expect EDR's rejection of such a tracer as a JavaScript tracer, and debug_traceTransaction checks the hash first.
NomicFoundation/hardhat#7985 tests its debug trace conversion with traces recorded from Hardhat 2.29.1 and EDR 0.12.0-next.23. The suite covers storage contexts across calls and creations, reverts, precompile calls and the request options. Copy debug-trace.ts next to the other debug tests and its fixture next to the other debug fixtures. The imports now use the hardhat package and the helpers of hardhat-tests. Every test keeps its title. The suite runs on every provider that PROVIDERS defines.
The debug trace conversion tests and their Hardhat 2.29.1 recording now live in EDR's hardhat-tests directory, which runs the Hardhat 2 package against every EDR change in EDR's CI. Keeping a second copy here would drift from that one, so this removes it. Until Hardhat releases this conversion and EDR bumps its patched package to that release, EDR's suite exercises the copy of the conversion in EDR's Hardhat 2 patch rather than this source.
Hardhat 2 converts EDR's geth-format debug traces back to its legacy format in the open NomicFoundation/hardhat#7985. EDR's patched Hardhat 2.28.6 lacked that conversion, so EDR CI tested a format that Hardhat 2 no longer returns. Port the conversion from #7985. The port adds edrRpcDebugTraceToHardhat2 and its StorageTracker to convertToEdr.ts. It wires the memory default, the empty tracer handling and the result conversion into the provider's request method. RpcStructLog gains the returnData field. The debug trace code matches #7985. Outside it, the port keeps EDR's existing patch and its formatting. The compiled files come from TypeScript 5.0.4 with the package's own 2.28.6 tsconfig. That compiler reproduces the patched provider.js byte for byte. The source maps are now regenerated with the code they map. The revert commit restored the Hardhat 2 format fixtures and reversed the test hunks of #1251, so the debug tests are green again from here. assertEqualTraces loses the refund normalisation that only geth's format needed and the zeroing of call-opcode gas, which EDR now reports as the fixtures do. It compares returnValue without its prefix, except for a failed trace whose fixture recorded none. The unsupported tracer tests expect EDR's rejection of such a tracer as a JavaScript tracer, and debug_traceTransaction checks the hash first.
The release reduces the memory used to record call traces, which the provider collects for the VM event bridge. Its other changes concern the Amsterdam hardfork and Solidity tests, which Hardhat 2 does not expose.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the EDR 0.25.1 upgrade and related compatibility changes.
9 open issues
Update EDR dependency for reinstated traces() APIstackTraceis guarded withstackTrace?.kindinitially, but in theelsebranch it’s only…stackTraceis guarded withstackTrace?.kindinitially, but in theelsebranch it’s only… Use callTraces() instead of removed Response.traces()observability.includeCallTracesis enabled, but the code callsresponseObject.traces(). The PR… This change drops the explicit formatting path fordebug_traceTransaction/debug_traceCall… EnablingIncludeTraces.AllandrecordStackunconditionally can add significant overhead for… This branch guards only againstnull, but the earlier optional chaining (stackTrace?.kind)…MinimalInterpreterStep.memoryis optional, but this code always setsmemory(possibly to…
1 resolved since last review
1 file not reviewed
pnpm-lock.yaml: Generated file
Review effort: Balanced
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues blocking the EDR 0.25.1 upgrade.
No open issues 🎉
10 resolved since last review
Update devcontainer base image for EDR glibc requirements Update EDR dependency for reinstated traces() APIstackTraceis guarded withstackTrace?.kindinitially, but in theelsebranch it’s only…stackTraceis guarded withstackTrace?.kindinitially, but in theelsebranch it’s only… Use callTraces() instead of removed Response.traces()observability.includeCallTracesis enabled, but the code callsresponseObject.traces(). The PR… This change drops the explicit formatting path fordebug_traceTransaction/debug_traceCall… EnablingIncludeTraces.AllandrecordStackunconditionally can add significant overhead for… This branch guards only againstnull, but the earlier optional chaining (stackTrace?.kind)…MinimalInterpreterStep.memoryis optional, but this code always setsmemory(possibly to…
1 file not reviewed
pnpm-lock.yaml: Generated file
Review effort: Balanced
kanej
left a comment
There was a problem hiding this comment.
I have read through the changes, attempted to break it with AI, ran manual checks against new projects with hardhat-tracer and reran the validation section of the github description.
I am happy this is good to go.
Thanks for double checking! |



Hardhat 2 still pins
@nomicfoundation/edr@0.12.0-next.23. Later EDR releases changed the API Hardhat 2 uses so Hardhat 3 could ship faster, so Hardhat 2 has received none of their fixes. This PR moves Hardhat 2 to EDR 0.25.1 and requires Node.js 22.What changes
Response.traces(), reinstated by feat: add backwards compatibility forResponse::tracesedr#1301, and maps them onto the VM events that solidity-coverage and hardhat-tracer listen to. It setsincludeCallTraces: IncludeTraces.AllandrecordStack: StackSnapshotType.Top, matching EDR's Hardhat 2 patch.edrRpcDebugTraceToHardhat2converts the default tracer's output back to Hardhat 2's. That means unprefixed, zero-padded values, storage on every step and memory captured unlessdisableMemoryis set. Per-step storage is rebuilt from EDR'sSLOADandSSTOREsnapshots by following each call frame's storage context. Built-in tracers such ascallTracerpass through unchanged.networkholds either the fork settings or the genesis gas limit and time, andblockGasLimitmoves undermining.hardhat_resetkeeps the original genesis values when switching from a fork back to a local network. Hardfork names pass to EDR as strings, which removes both SpecId tables.transactionGasCapstill lifts the EIP-7825 cap for solidity-coverage.mining.intervalranges are validated at config load.StackTrace,UnexpectedErrorandHeuristicFailedresults ofstackTrace(). The subscription callback reaches the wrapper through aWeakRef, so the provider thread can be collected.engines.node >= 22since 0.14.0.SUPPORTED_NODE_VERSIONSdrops^20.0.0, and.nvmrc, the dev container and new projects'@types/nodemove to 22.Behaviour changes
debug_traceTransactionanddebug_traceCallkeep the Hardhat 2 format for the default tracer and gain geth's built-in tracers. An emptytracernow selects the default tracer. The remaining differences are in thedebug-trace-tracers-and-optionschangeset. A halting step carries anerror, an undefined opcode is namedUnknownand a first-stepSTOPis kept. Storage can be stale underdisableStack.debug_traceTransactionissues oneeth_getTransactionByHashper trace to learn the root contract.mining.intervalranges must satisfy1 <= min <= max, so[0, N]is rejected with an error naming the key. This is breaking.rpc_cache/v2. Local Cancun-or-later networks get a different genesis block hash, because two system accounts start with nonce1.Request failed after 9 retriesand no longer names the host or the cause. The retries are not new.Release notes of every EDR version since 0.12.0-next.23
Response::tracesedr#1301, and 0.25.1, the version this PR pinsThe full list is in
crates/edr_napi/CHANGELOG.md.Validation
Third-party repositories ran through a local Verdaccio on 2026-10-18, from fresh clones, on Node 22 with identical commands. The candidate was this branch at
58316dda8with EDR at NomicFoundation/edr#1301 head47f7abfb8. The control was Hardhat 2.29.1 as shipped. Safe and NexusMutual ran withhardfork: "prague"on both builds, because their configuredgasexceeds the Osaka cap. Counts are passing/failing tests, and ratios are candidate over control from single runs, so ±10% is noise.The failures are identical on both builds: gas-reporter cases that need API keys or a live Alchemy host, solidity-coverage's 60M-gas deployment under the Osaka cap, two hardhat-tracer JSON cases, and Rocket Pool's signer-less deploy config. The gas-reporter ratios carry no signal, since its short suites and its fork to a dead host are retried by both builds. Control was OOM-killed three times at 5.7–6.0 GB on Rocket Pool coverage and NexusMutual, where the candidate peaked at 3.3–4.4 GB.
The table predates the debug trace conversion. On that run, Safe's
SafeToL2Setupfailed on the candidate only, because it reads unprefixed stack words and per-step storage from a trace. With the conversion in place, atb7d610cbbwith EDR 0.25.0, the Safe default suite passed 465 tests and the L2 suite 468. That is one more than the candidate column in each case. The conversion suite, recorded from Hardhat 2.29.1, lives in EDR'shardhat-tests(NomicFoundation/edr#1907), where it runs against every EDR change. Before it moved, 105 of its 117 runs failed without the conversion. The VM event bridge is covered here bytrace-event-bridge.ts.At EDR 0.25.1, the core suite outside stack traces passes with 1194 tests.
Notes for review
@types/nodedevDependencies and the toolboxes'>=20.0.0peers stay at 20, as a follow-up, to keep this PR on the EDR upgrade.hardhat compilein a fresh yarn project withERR_PACKAGE_PATH_NOT_EXPORTEDunder@scure/bip32. The PR changes no crypto dependency, and the last greenv2run predates@noble/hashes2.4.0, so the failure looks registry-side.WIP:title and two add-then-revert pairs. Squash-merging folds them.CREATE's storage context is never entered again.