Skip to content

Commit

Permalink
Refine a differential test error message (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
ESultanik committed Nov 1, 2018
1 parent 94f2ee6 commit 17ba67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etheno/differentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def after_post(self, data, client_results):
except Exception:
pass
if gas_used != master_gas:
test = DifferentialTest(self, 'GAS_USAGE', TestResult.FAILED, "transaction %s used 0x%x gas in the master client but only 0x%x gas in %s!" % (data['params'][0], master_gas, gas_used, client))
test = DifferentialTest(self, 'GAS_USAGE', TestResult.FAILED, "transaction %s used 0x%x gas in the master client but 0x%x gas in %s!" % (data['params'][0], master_gas, gas_used, client))
self.add_test_result(test)
self.logger.error(test.message)
else:
Expand Down

0 comments on commit 17ba67b

Please sign in to comment.