You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a call to process_receipt occurs with event topics, there is a warning shown that the event signature is not valid for the provided ABI.
Code that produced the error
event_instance.process_receipt(txn_receipt_dict)
Full error output
tests/core/contracts/test_extracting_event_data.py::test_receipt_processing_with_no_flag[<lambda>]
tests/core/contracts/test_extracting_event_data.py::test_receipt_processing_with_no_flag[identity]
/Users/stu/.pyenv/versions/3.8.19/envs/w3/lib/python3.8/site-packages/eth_utils/functional.py:47: UserWarning: The log with transaction hash: HexBytes('0x075f46b42b4bd8dc33bd65eefbc343f114c44fa7b5baec854f784c68efce3d6d') and logIndex: 1 encountered the following error during processing: MismatchedABI(The event signature did not match the provided ABI). It has been discarded.
return callback(fn(*args, **kwargs))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Fill this section in if you know how this could or should be fixed
Changes in get_event_data may have inadvertently caused this warning. However, reverting the processing code that matches the topic with the event ABI did not make the warning go away. There may be another issue with encoding the topic.
What happened?
When a call to
process_receipt
occurs with event topics, there is a warning shown that the event signature is not valid for the provided ABI.Code that produced the error
Full error output
Fill this section in if you know how this could or should be fixed
Changes in
get_event_data
may have inadvertently caused this warning. However, reverting the processing code that matches the topic with the event ABI did not make the warning go away. There may be another issue with encoding the topic.web3 Version
7.4.0
Python Version
3.8.19
Operating System
osx
Output from
pip freeze
The text was updated successfully, but these errors were encountered: