-
Notifications
You must be signed in to change notification settings - Fork 5k
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/Events/Logs not working correctly #2978
Comments
Hello, I would like to ask for a quick comment on what are the alternatives that small application could use. It must refresh a model everytime the user changes it by clicking a button and performing an action, and ideally it could show other kinds of changes (from other users) in realtime. I think of polling every n secs or triggering refreshes after specific UI cues. Are there other ways this could be done? Thanks! |
Some workaround options for devs that don't want to rely on events/logs when they don't work reliably:
|
Hi there, listing.addMultipleToList(addresses,payload, {from: adminAccount}).then(function() { The metamask transaction launches, I accept the transaction, after 5-10 seconds the block has been mined and the contract function called successfully. This behaves as my other calls do. But I seem to catch an exception with the contract call (weird) and in the console the error being presented is "Uncaught (in promise)" Right now Im investigating a workaround for this and also what web3 1.0 has to offer. |
Just a warning, MetaMask does not currently support Web3 1.0 or later. If you could provide a reproduction use case, and provide it in a new issue, we could try to find the cause of your problem. |
Actually it was my mistake :( sorry! |
some issues possibly handled in #4279 |
Thanks for the detail @lazaridiscom. I've updated the original post accordingly and followed up on some of the remaining open issues. I'll check back in here after the provider rewrite (#4279) is merged to see if it has affected anything else. |
If you encounter an issue with Filters/Events/Logs/Subscriptions, please open a new issue describing your situation and example code + reproduction steps |
There are lots of claims of events working inconsistently.
There may be multiple bugs at play here.
Some of them may have been resolved.
Some of them are associated with changing the provider.
Some of these are associated with resetting testrpc/ganache server without telling metamask.
This may involve getting results from an out-of-sync backend.
This ticket is for linking potential duplicate issues and discussing bounties
associated issues:
#1261
#2752
#2742
#2393 ✅fixed
#2252 ✅fixed
#2114 ✅fixed
#2761 ✅fixed
#2952 ✅fixed
The text was updated successfully, but these errors were encountered: