Skip to content

Commit

Permalink
💡 Add commented on-revert handler
Browse files Browse the repository at this point in the history
  • Loading branch information
bemic authored and michprev committed Feb 27, 2024
1 parent 50219ee commit 901cef9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wake/templates/tests/test_default.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
from wake.testing import *

# Print failing tx call trace
# def revert_handler(e: TransactionRevertedError):
# if e.tx is not None:
# print(e.tx.call_trace)

@default_chain.connect()
# @on_revert(revert_handler)
def test_default():
pass

0 comments on commit 901cef9

Please sign in to comment.