build: upgrade to @nomicfoundation/edr v0.12.0-next.25#7949
build: upgrade to @nomicfoundation/edr v0.12.0-next.25#7949
Conversation
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
hardhatTotal size of the bundle: List of dependencies (sorted by size) |
|
On this question: I think we move the formatters up into So maybe move the formatters to: @schaable, what do you think? |
Agree, but not all exports in that file are related to stack traces.
We can also remove |
|
Closed in favor of #7983 |
Upgraded EDR to
v0.12.0-next.25:Minor Changes
NomicFoundation/edr@3974769: Added
callTraces()toResponseobject, inclusion of which is configurable through theincludeCallTracesoption on theObservabilityConfigNomicFoundation/edr@f4bdc36: Removed
getLatestSupportedSolcVersionAPIBREAKING CHANGE: A new API
latestSupportedSolidityVersionwas previously introduced to replace the deprecatedgetLatestSupportedSolcVersion. The old API has now been removed. Users should update their code to uselatestSupportedSolidityVersioninstead.NomicFoundation/edr@3974769: Removed
traces()API from theResponseobjectNomicFoundation/edr@f4bdc36: Added support to the
debug_traceCall&debug_traceTransactionJSON-RPC methods for different tracers (4byteTracer,callTracer,flatCallTracer,prestateTracer,noopTracer, andmuxTracer).Our API is now aligned with Geth's tracing capabilities.
BREAKING CHANGE: Memory capture used to be enabled by default on geth, but has since been flipped core: cmd: invert disableMemory ethereum/go-ethereum#23558 and is now disabled by default. We have followed suit and disabled it by default as well. If you were relying on memory capture, you will need to explicitly enable it by setting the
enableMemoryoption totruein your tracer configuration.TO DO
I wasn't clear on standards in Hardhat 3 for this, so I figured it would be easier for a Hardhat developer to quickly implement this:
v-next/hardhat/src/internal/builtin-plugins/solidity-test/formatters.tsneeds to be moved to a package that is shared between Solidity Tests and the JSON-RPC provider-vvvv) similar to Solidity testsProviderConfigshould receive theIncludeTracesconfiguration, based on the configured verbosity level.formatTracesfunction should be called inedr-provider.ts, depending on the verbosity levelIf no one is available, I can do it with some direction on CLI configuration options and preferred file locations.