Skip to content

Commit

Permalink
Address test_eth_get_balance_with_block_identifier in TestEthereumTes…
Browse files Browse the repository at this point in the history
…terEthModule
  • Loading branch information
e3243eric committed Mar 8, 2023
1 parent f7f35cd commit 22681a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/test_ethereum_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,12 @@ def test_eth_getBlockByNumber_finalized(
) -> None:
super().test_eth_getBlockByNumber_finalized(w3, empty_block)

def test_eth_get_balance_with_block_identifier(self, w3: "Web3") -> None:
# send some money to the coinbase account to ensure later balance > genesis
w3.eth.send_transaction({"to": w3.eth.coinbase, "value": 1, "gas": 21000})

super().test_eth_get_balance_with_block_identifier(w3)


class TestEthereumTesterNetModule(NetModuleTest):
pass
Expand Down

0 comments on commit 22681a7

Please sign in to comment.