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
Hi all, I'm not sure if this is the right place to ask, but I've been getting the same error as @rodrigosobrero, attempting to do something presumably similar.
I have a private PoA network setup with geth nodes, and I have a portion of a smart contract that emits an event like so:
emit Sent(test_package);
The event is defined as:
event Sent(Test[] test_package);
where Test is a struct defined as follows:
struct Test {
int[12] features;
address owner;
}
I am using the following code to listen for the event, and just try to print it out:
while True:
for event in block_filter.get_new_entries():
print(event)
time.sleep(2)
But whenever a new event comes in I get the same stacktrace eth_abi.exceptions.NoEntriesFound: No matching entries for 'tuple' in decoder registry. I've attached a full traceback here if it's useful.
Web3.py version 5.7.0
eth-abi version 2.1.1
Any guidance is appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
pip freeze
outputhttps://pastebin.com/yExMDsJH
What was wrong?
Copy/pasted from gitter:
Hi all, I'm not sure if this is the right place to ask, but I've been getting the same error as @rodrigosobrero, attempting to do something presumably similar.
I have a private PoA network setup with geth nodes, and I have a portion of a smart contract that emits an event like so:
emit Sent(test_package);
The event is defined as:
event Sent(Test[] test_package);
where Test is a struct defined as follows:
I am using the following code to listen for the event, and just try to print it out:
block_filter = smart_contract.events.Sent.createFilter(fromBlock=0, toBlock='latest')
But whenever a new event comes in I get the same stacktrace eth_abi.exceptions.NoEntriesFound: No matching entries for 'tuple' in decoder registry. I've attached a full traceback here if it's useful.
Web3.py version 5.7.0
eth-abi version 2.1.1
Any guidance is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: