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

Multiple events found #1804

Closed
Activity00 opened this issue Dec 9, 2020 · 4 comments
Closed

Multiple events found #1804

Activity00 opened this issue Dec 9, 2020 · 4 comments

Comments

@Activity00
Copy link

  • Version: 5.12.1
  • Python: 3.7.0
  • OS: linux

What was wrong?

/usr/local/lib/python3.7/site-packages/web3/_utils/contracts.py in find_matching_event_abi
raise ValueError("Multiple events found")

https://etherscan.io/tx/0x59054d383a9b3dd5289ebd994bc6fb95dd66fee741a33f1da9aa9a0b4a04a086#eventlog
same name event

@pipermerriam
Copy link
Member

@Activity00 it is helpful for you to supply more context for this. Can you supply the actual code you are using that triggered this error?

@kclowes here's where we need an API for retrieving an event directly by it's topic which a brief scan of the code suggests that 1) we might have never implemented a way to retrieve events that have duplicate names and 2) That we have inadequate documentation on the different ways there are to access an event.

@kclowes
Copy link
Collaborator

kclowes commented Dec 9, 2020

Yeah, I believe there is a half-baked PR up to allow overloaded events, but it still needs more work. And more documentation is always good! cc @marcgarreau to add to the tutorial/blog post list

@wolovim
Copy link
Member

wolovim commented Dec 9, 2020

An attempt was made (#1705), but after digging in a bit, we found that a larger effort was required. Details/suggestions for how to go about it are in the PR. I just added a help wanted label, which I should've done before moving on to other priorities.

@pacrob
Copy link
Contributor

pacrob commented Mar 4, 2024

Dup of #1704. Closing.

@pacrob pacrob closed this as completed Mar 4, 2024
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

5 participants