Skip to content

Commit a0ac9d5

Browse files
Merge pull request #329 from OffchainLabs/add-stopopcode-flatcalltracer
Handle STOP opcode in flatCallTracer
2 parents 8516902 + b466858 commit a0ac9d5

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
@@ -294,7 +294,7 @@ func flatFromNested(input *callFrame, traceAddress []int, convertErrs bool, ctx
294294
frame = newFlatCreate(input)
295295
case vm.SELFDESTRUCT:
296296
frame = newFlatSelfdestruct(input)
297-
case vm.CALL, vm.STATICCALL, vm.CALLCODE, vm.DELEGATECALL, vm.INVALID:
297+
case vm.CALL, vm.STATICCALL, vm.CALLCODE, vm.DELEGATECALL, vm.INVALID, vm.STOP:
298298
frame = newFlatCall(input)
299299
default:
300300
return nil, fmt.Errorf("unrecognized call frame type: %s", input.Type)

0 commit comments

Comments
 (0)