Skip to content

Commit 4439320

Browse files
Wodannfvictorio
andcommitted
fix: issue 771 (#772)
Co-authored-by: Franco Victorio <[email protected]>
1 parent c80be55 commit 4439320

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/rich-parents-shave.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ignored/edr-optimism": patch
3+
---
4+
5+
Fixed exception on termination of provider with interval mining enabled

hardhat-tests/test/internal/hardhat-network/stack-traces/test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ function compareStackTraces(
297297
const actual = trace[i];
298298
const expected = description[i];
299299

300-
const actualErrorType = stackTraceEntryTypeToString(actual.type);
300+
// TODO this `as any` is a temporary workaround until we replace
301+
// @ignored/edr-optimism with @nomicfoundation/edr
302+
const actualErrorType = stackTraceEntryTypeToString(actual.type as any);
301303
const expectedErrorType = expected.type;
302304

303305
if (

0 commit comments

Comments
 (0)