Skip to content

Commit

Permalink
Merge pull request #329 from OffchainLabs/add-stopopcode-flatcalltracer
Browse files Browse the repository at this point in the history
Handle STOP opcode in flatCallTracer
  • Loading branch information
joshuacolvin0 authored Jun 17, 2024
2 parents 8516902 + b466858 commit a0ac9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/tracers/native/call_flat.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func flatFromNested(input *callFrame, traceAddress []int, convertErrs bool, ctx
frame = newFlatCreate(input)
case vm.SELFDESTRUCT:
frame = newFlatSelfdestruct(input)
case vm.CALL, vm.STATICCALL, vm.CALLCODE, vm.DELEGATECALL, vm.INVALID:
case vm.CALL, vm.STATICCALL, vm.CALLCODE, vm.DELEGATECALL, vm.INVALID, vm.STOP:
frame = newFlatCall(input)
default:
return nil, fmt.Errorf("unrecognized call frame type: %s", input.Type)
Expand Down

0 comments on commit a0ac9d5

Please sign in to comment.