Skip to content

Commit efaa6d0

Browse files
committed
Handle INVALID opcode in the flatCallTracer
1 parent 36cc857 commit efaa6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/tracers/native/call_flat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func flatFromNested(input *callFrame, traceAddress []int, convertErrs bool, ctx
268268
frame = newFlatCreate(input)
269269
case vm.SELFDESTRUCT:
270270
frame = newFlatSelfdestruct(input)
271-
case vm.CALL, vm.STATICCALL, vm.CALLCODE, vm.DELEGATECALL:
271+
case vm.CALL, vm.STATICCALL, vm.CALLCODE, vm.DELEGATECALL, vm.INVALID:
272272
frame = newFlatCall(input)
273273
default:
274274
return nil, fmt.Errorf("unrecognized call frame type: %s", input.Type)

0 commit comments

Comments
 (0)