Skip to content

Commit

Permalink
feat: hash alias
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 20, 2024
1 parent ab53c2c commit 6fed313
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/functional/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ def test_txn_hash_and_receipt(owner, eth_tester_provider, ethereum, kwargs):
txn = owner.prepare_transaction(txn)
txn = owner.sign_transaction(txn)
assert txn

# Show the .hash alias works.
assert txn.hash == txn.txn_hash

actual = to_hex(txn.txn_hash)
receipt = eth_tester_provider.send_transaction(txn)

Expand Down

0 comments on commit 6fed313

Please sign in to comment.