Skip to content

Commit c8dce3c

Browse files
committed
chore: bump @ignored/edr to 0.10.0-alpha.1
1 parent 1fea7c8 commit c8dce3c

File tree

3 files changed

+38
-36
lines changed

3 files changed

+38
-36
lines changed

pnpm-lock.yaml

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v-next/hardhat/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"typescript-eslint": "7.7.1"
8585
},
8686
"dependencies": {
87-
"@ignored/edr": "0.8.0-alpha.2",
87+
"@ignored/edr": "0.10.0-alpha.1",
8888
"@ignored/edr-optimism": "0.6.5-alpha.3",
8989
"@nomicfoundation/hardhat-errors": "workspace:^3.0.0-next.1",
9090
"@nomicfoundation/hardhat-utils": "workspace:^3.0.0-next.1",

v-next/hardhat/src/internal/builtin-plugins/solidity-test/reporter.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,15 @@ export async function* testReporter(
128128
}
129129

130130
const stackTrace = failure.stackTrace();
131+
// TODO handle `UnexpectedError` and `UnsafeToReplay` variants
131132
if (
132133
stackTrace !== undefined &&
133134
stackTrace !== null &&
134-
stackTrace.length > 0
135+
stackTrace.kind === "StackTrace" &&
136+
stackTrace.entries.length > 0
135137
) {
136138
const stackTraceStack: string[] = [];
137-
for (const entry of stackTrace.reverse()) {
139+
for (const entry of stackTrace.entries.reverse()) {
138140
const callsite = encodeStackTraceEntry(entry);
139141
if (callsite !== undefined) {
140142
stackTraceStack.push(` at ${callsite.toString()}`);

0 commit comments

Comments
 (0)