Skip to content

Commit

Permalink
test: assert things in test_decode_etherscan_receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed Jan 22, 2024
1 parent a52ddba commit 443eabf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/functional/test_ecosystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def test_decode_receipt(eth_tester_provider, ethereum):


def test_decode_etherscan_receipt(eth_tester_provider, ethereum):
ethereum.decode_receipt(
receipt = ethereum.decode_receipt(
{
"blockNumber": "11291970",
"timeStamp": "1661846925",
Expand All @@ -358,6 +358,9 @@ def test_decode_etherscan_receipt(eth_tester_provider, ethereum):
"chainId": 1,
}
)
assert receipt.type == 0
assert receipt.max_fee == 0
assert receipt.gas_price == 1499999989


def test_default_transaction_type(ethereum):
Expand Down

0 comments on commit 443eabf

Please sign in to comment.