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 filtering event #4088

Merged
merged 5 commits into from
Sep 27, 2023
Merged

fix filtering event #4088

merged 5 commits into from
Sep 27, 2023

Conversation

yann300
Copy link
Contributor

@yann300 yann300 commented Sep 25, 2023

this fixes 2 issues:

  • changeEvent.tx.to || '') instead of checking that the "to" is null, we do the check against the receipt.contractAddress which contains the address of the newly created contract.
  • use log.address instead of tx.to, that way it won't obfuscate event emiitted from a call.

@netlify
Copy link

netlify bot commented Sep 25, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 702e275
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/6513e4acba89460008ebd311
😎 Deploy Preview https://deploy-preview-4088--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yann300
Copy link
Contributor Author

yann300 commented Sep 25, 2023

e2e will be added in #4089

@Aniket-Engg Aniket-Engg merged commit b6db2a2 into master Sep 27, 2023
5 checks passed
@Aniket-Engg Aniket-Engg deleted the fix_filteing_event branch September 27, 2023 08:29
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

Successfully merging this pull request may close these issues.

3 participants