-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
As a user, I'd like to be able to close my browser window after I submit a web3 tx, so I can do other things without canceling. #128
Comments
This issue now has a funding of 0.05 ETH (33.89 USD) attached to it.
|
Where can I find the partially implemented |
@owocki Maybe it's better to run sync_geth as daemon on serverside? |
sure. im open to that... we could put it into |
Is someone working on this? Just curious, as I think I am not that familiar with the codebase to decide which way to handle this. |
Nobody claimed it, so feel free to do it. My question are - how state is stored and what is stored? Is there something like this stored on server?
So that when you reload the page, the state is shown on issue page? |
You can look at /app/dashboard/models.py for example to get an idea of the database layout. |
One question I have about this - I am probably missing something, but what about this is not working right? |
ok. then I will in the meantime try running without docker, cause running those managing commands in docker was a pain |
we should make it easier to run management commands in docker.. @mbeacom might know whats standard here :) |
@step21 @owocki
The above example is broken down like so: So you're telling docker-compose to So, for this particular situation, you could use: Let me know if you have any further questions or concerns! |
this is unblocked now that standardbounties is out the door! |
I will check if I can commit sth today |
So... should this be combined with those two referenced issues or can it be split up somehow? |
im going to start on this tomorrow |
this is done! 🎉 |
014429d
the issue
Once a user submits a new bounty / claim bounty / accept bounty, their browser is what polls web3 for the tx to be mined. When the tx is mined, their browser receives the updated info from the blockchain, and submits it to the server.
this is a problem because if the user closers browser window, or if they lose web3 connectivity, the backend won't update.
workaround
a workaround is if an admin is using the
process_bounty.js
helper script to process the bounty.proposed root cause fix
there is a serverside management command called
sync_geth
. it is partially implemented right now. when it is fully implemented, it will poll / listen for changes to the jobs on web3 and update the server side immediatelyThe text was updated successfully, but these errors were encountered: