Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add log for test filters [TESTING] #190

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/integration_tests/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
# without new txs since last call
assert flt.get_new_entries() == []
assert flt.get_all_entries() == new_entries

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_get_logs_by_topic[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_pending_transaction_filter[enable-indexer] ValueError: {'code': -32000, 'message': 'rpc error: code = Unknown desc = codespace sdk code 26: invalid height: ethermintd is not ready; please wait for first block'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_block_filter[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_event_log_filter_by_contract[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_event_log_filter_by_address[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_event_log_filter_by_topic[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_multiple_filters[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_register_filters_before_contract_deploy[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}

Check failure on line 172 in tests/integration_tests/test_filters.py

View workflow job for this annotation

GitHub Actions / integration_tests

test_get_logs[enable-indexer] ValueError: {'code': -32000, 'message': 'header not found'}
# Uninstall
assert w3.eth.uninstall_filter(flt.filter_id)
assert not w3.eth.uninstall_filter(flt.filter_id)
Expand Down Expand Up @@ -699,6 +699,7 @@


def assert_log_block(w3, log):
print("Log received for assertion:", log)
block_hash = log["blockHash"]
# check if the returned block hash is correct
# getBlockByHash
Expand Down
Loading