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

Fix issues with contract.on #4114

Merged
merged 4 commits into from
Jul 6, 2023
Merged

Conversation

fvictorio
Copy link
Member

@fvictorio fvictorio commented Jul 5, 2023

Closes #4098.

This commit fixes two issues related to contract.on:

- Events with arguments are now handled correctly
- If the same event is emitted twice or more in the same transaction, the listener is called that number of times.
@changeset-bot
Copy link

changeset-bot bot commented Jul 5, 2023

🦋 Changeset detected

Latest commit: 1d0fb98

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/hardhat-ethers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2023 5:24pm
hardhat-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2023 5:24pm

@fvictorio fvictorio merged commit 62c61e1 into main Jul 6, 2023
@fvictorio fvictorio deleted the ethers-indexed-and-multiple-events branch July 6, 2023 17:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready This issue is ready to be worked on
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Contract event listener is not firing for indexed value and for multiple events
2 participants