Skip to content

Commit

Permalink
Fix feature_evm_rpc_filters test
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamc1 committed Sep 6, 2023
1 parent 978432a commit e42f517
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/feature_evm_rpc_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def create_contract(self):
node.generate(1)

receipt = node.w3.eth.wait_for_transaction_receipt(hash)
self.contract_address = receipt["contractAddress"]
self.contract = node.w3.eth.contract(
address=receipt["contractAddress"], abi=abi
)
Expand Down Expand Up @@ -133,6 +134,7 @@ def test_get_logs(self):
{
"fromBlock": "earliest",
"toBlock": "latest",
"address": self.contract_address,
}
)
assert_equal(len(logs), 3)
Expand All @@ -144,6 +146,7 @@ def test_get_filter_logs(self):
{
"fromBlock": "earliest",
"toBlock": "latest",
"address": self.contract_address,
}
)

Expand Down

0 comments on commit e42f517

Please sign in to comment.