From 614289342dca6a77db25c8722439a914ae96b026 Mon Sep 17 00:00:00 2001 From: Evgeny Medvedev Date: Thu, 5 Oct 2023 15:14:39 +0800 Subject: [PATCH] Remove check for output field in traces file (#191) --- cli/polygonetl/jobs/export_geth_traces_job.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cli/polygonetl/jobs/export_geth_traces_job.py b/cli/polygonetl/jobs/export_geth_traces_job.py index e312337c..c385f2ca 100644 --- a/cli/polygonetl/jobs/export_geth_traces_job.py +++ b/cli/polygonetl/jobs/export_geth_traces_job.py @@ -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()