File tree 1 file changed +1
-21
lines changed
packages/hardhat-core/src/internal/hardhat-network/stack-traces
1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -41,33 +41,13 @@ export class ErrorInferrer {
41
41
jumpedIntoFunction : boolean ,
42
42
lastSubmessageData : SubmessageData | undefined
43
43
) : SolidityStackTrace {
44
- const res = ErrorInferrerRs . inferAfterTracing (
44
+ return ErrorInferrerRs . inferAfterTracing (
45
45
trace ,
46
46
stacktrace ,
47
47
functionJumpdests ,
48
48
jumpedIntoFunction ,
49
49
lastSubmessageData
50
50
) ;
51
-
52
- return (
53
- ErrorInferrerRs . checkLastSubmessage (
54
- trace ,
55
- stacktrace ,
56
- lastSubmessageData
57
- ) ??
58
- // res ??
59
- ErrorInferrerRs . checkFailedLastCall ( trace , stacktrace ) ??
60
- ErrorInferrerRs . checkLastInstruction (
61
- trace ,
62
- stacktrace ,
63
- functionJumpdests ,
64
- jumpedIntoFunction
65
- ) ??
66
- ErrorInferrerRs . checkNonContractCalled ( trace , stacktrace ) ??
67
- ErrorInferrerRs . checkSolidity063UnmappedRevert ( trace , stacktrace ) ??
68
- ErrorInferrerRs . checkContractTooLarge ( trace ) ??
69
- ErrorInferrerRs . otherExecutionErrorStacktrace ( trace , stacktrace )
70
- ) ;
71
51
}
72
52
73
53
public filterRedundantFrames (
You can’t perform that action at this time.
0 commit comments