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

eth_abi.exceptions.NoEntriesFound: No matching entries for 'tuple' in decoder registry #1621

Closed
kclowes opened this issue Apr 6, 2020 · 1 comment

Comments

@kclowes
Copy link
Collaborator

kclowes commented Apr 6, 2020

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:

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:

block_filter = smart_contract.events.Sent.createFilter(fromBlock=0, toBlock='latest')

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!

@kclowes
Copy link
Collaborator Author

kclowes commented Apr 24, 2020

Closing in favor of #1629.

@kclowes kclowes closed this as completed Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant