Skip to content

Commit

Permalink
test: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 28, 2024
1 parent 8d031fd commit 86c38e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/functional/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@ def test_trace_source(geth_provider, project, traceback_contract, account, compi
@pytest.mark.parametrize("arguments", [(), (123,), (123, 321)])
def test_trace_source_from_receipt(account, geth_provider, project, traceback_contract, arguments):
receipt = traceback_contract.addBalance(*arguments, sender=account)
assert receipt.contract_type, "Setup failed - Contract type missing on receipt."

actual = receipt.source_traceback
base_folder = Path(__file__).parent.parent / "contracts" / "passing_contracts"
contract_name = traceback_contract.contract_type.name
Expand Down

0 comments on commit 86c38e6

Please sign in to comment.