Skip to content

Commit

Permalink
Update executor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
crosschainer authored Jun 4, 2024
1 parent ddea489 commit b5244c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/contracting/execution/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ def execute(self, sender, contract_name, function_name, kwargs,
result = e
status_code = 1

if auto_commit:
driver.flush_cache()
driver.flush_cache() # TODO: this is sketch, i changed this because it needs to remove all changes after failure

finally:
runtime.rt.tracer.stop()
Expand Down

0 comments on commit b5244c4

Please sign in to comment.