Skip to content

Commit

Permalink
Remove check for output field in traces file (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
medvedev1088 authored Oct 5, 2023
1 parent 4c3c186 commit 6142893
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cli/polygonetl/jobs/export_geth_traces_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ def _check_result(self, result, block_number):
'Error for trace in block {block}. Need to retry. Error: {err}, trace: {trace}'
.format(block=block_number, trace=json.dumps(tx_trace), err=tx_trace.get('error'))
)
elif (
tx_trace.get('result').get('error') is None
and tx_trace.get('result').get('output') is None
):
err = '`output` fields missing in traces file'
raise RetriableValueError(
'Error for trace in block {block}. Need to retry. Error: {err}, result: {result}'
.format(block=block_number, err=err, result=result)
)

def _start(self):
self.item_exporter.open()
Expand Down

0 comments on commit 6142893

Please sign in to comment.