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

filters bug fix #2401

Merged
merged 4 commits into from
Oct 20, 2017
Merged

filters bug fix #2401

merged 4 commits into from
Oct 20, 2017

Conversation

kumavis
Copy link
Member

@kumavis kumavis commented Oct 19, 2017

relevant change
MetaMask/eth-json-rpc-filters@d9e5694
MetaMask/eth-json-rpc-filters@f804d9a
MetaMask/json-rpc-engine@091b355

not certain if this fixes all the issues with events/logs/filters but it should help

Updates #2393
Updates #2255
Updates #2114

@kumavis
Copy link
Member Author

kumavis commented Oct 19, 2017

unrelated security failure:

Vulnerable: <=1.1.1 - Patched: >=2.0.0 - Path: sandwich-expando@1.1.1 > brfs@1.4.3 > static-module@1.5.0 > static-eval@0.2.4

@kumavis kumavis changed the title deps - bump eth-json-rpc-filters filters bug fix Oct 19, 2017
Copy link
Contributor

@frankiebee frankiebee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well as confirmation from user who had initial issue that this is fixed

@frankiebee frankiebee merged commit 09e0460 into master Oct 20, 2017
@frankiebee frankiebee deleted the filter-fix-maybe branch October 20, 2017 20:13
@maxsupera
Copy link

Hey there. I believe this was also going to fix metamask listening to contract events. The 'transfer' event works fine for me if I dont use metamask and specify the web3 provider myself (localhost or infura). However, as soon as I try using metamask instead, the contract event is no longer listened to... Even with this new update, im still experiencing this problem.

Im building with react and listening to the transfer event in 'componentDidMount', and making sure web3 is provided by metamask beforehand.

Any help is much appreciated. Id like to be able to use this in production. Thanks!!

@nteymory
Copy link

nteymory commented Oct 27, 2017

Just wanted to note that this change didn't fix listening to contract events (#2393) This still doesn't work in version 3.12.0

@nteymory
Copy link

nteymory commented Feb 11, 2018

I am having trouble reproducing this bug since 3.14.1, it may have been fixed, or at least improved since 3.12? So, I cannot confirm whether this change makes a difference.

EDIT: My bad, I was performing my test incorrectly. Watching was fixed for pre-existing events, But new events produced while watching still wouldn't work. @lazaridiscom I tested your change, and it appears to fix this problem!

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.

4 participants