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

Recovery mode doesn't work. #8

Open
hsynorg opened this issue Jun 1, 2021 · 20 comments
Open

Recovery mode doesn't work. #8

hsynorg opened this issue Jun 1, 2021 · 20 comments

Comments

@hsynorg
Copy link
Contributor

hsynorg commented Jun 1, 2021

Hello,

Recovery mode seems like doesn't work.

Here is an example:

https://imgur.com/ODgAwSG

What's the reason and what's the solution?

I've also tried to test as much as I can. I found some other issues as well, I will post them.

@teutsch
Copy link
Contributor

teutsch commented Jun 1, 2021

Thanks for the feedback! Recovery mode only resumes a task with bonded deposit. In this case, this deposit was slashed, so there's nothing left to do. The task has already ended.

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021

It's really not good experience. The deposit is slasing due to waiting for network (It's not related to gas fee, even if I set high gas fee sometimes it got confirmantion after 3-4 mins.)

I think it's not tested enough on Mainnet. Because in eth mainnet tx can not be so fast and in many steps there a timings (timeout to 240 sec.) I can't understand why a blockchain solution would depend on time? (The network is not stable always)

Capture-highfee

For example, many times I faced error on task finalizing step.

Let's make it clear.

Task submitter, submitted the task on the network.
Solver: Successfully submitted the solution.
Verifier: Successfully verifying the task.

But then in final step.

Finalizing the task..

Submitted the commit.

Waiting..

Re-Finalizing.. (? I think in my opinion it's not needed. Because there is already one which submitted)

Waiting...

Re-Finalizing.. (C'mon whats happening? There is already 2 commit, it's awaiting approvement from the network)

Waiting...

Re-Finalizing.. (? more)

..
..

Ups slahed?

Capture-finalstep

Oh no!

OK, Lets try to recover the task. Oh wait, there is no task can be recovered. (But why? I can see the list there is my task.)

Capture10

@paidee
Copy link

paidee commented Jun 2, 2021 via email

@teutsch
Copy link
Contributor

teutsch commented Jun 2, 2021

We need to investigate this further. @paidee @hsynorg Have you seen this problem on Görli as well, or just Ethereum mainnet? It would be helpful if you could share some Etherscan link(s) to transactions that were connected to these tasks.

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021

@teutsch Thanks for replying. Actually on testnet I didn't get too much (I guess because network is fast and stable).

I did more tests and I'd like to share with you.

  1. Registering IPFS.. But seems like it's trying to register my local IP. I've tried few time but always local IP (127 and 192)
    Capture-ipfs
    Capture-ipfs2

  2. Task giver, after got the solution and verified by 2 verifiers. Just canceled? Really bad experience.
    CaptureSubmitError

  3. Task submitter. 1 tx (contract creation) confirmed, waiting second and third tx. But while awaiting for the 3rd tx. just canceled because of 240 seconds. (I think this shouldn't be at all at least it has to be more long, it should wait for the network. I tried to change blockLimit from the file but seems like it doesn't take in consideration (or might I didn't do in correct way)
    Capture-timeout

I have more test. I'd love to share more.

@paidee
Copy link

paidee commented Jun 2, 2021 via email

@paidee
Copy link

paidee commented Jun 2, 2021 via email

@teutsch
Copy link
Contributor

teutsch commented Jun 2, 2021

  1. You can use ipfs id at the Docker command line or inside Truebit OS. If you want to register a specific address in Truebit OS, you can use the -i flag, e.g. ipfs register -i 2, otherwise Truebit OS randomly chooses one of your addresses to register.

  2. It looks like the Solver dropped out here. What behavior would you expect in this situation?

  3. The 240 second timeout has nothing to do with the blockLimit -- that's just built in to web3.js. This error means that your transaction did not get included in a block. The blockLimit pertains to a different kind of timeout, namely the amount of time that Solvers and Verifiers have to compute their solutions locally.

Please share all your feedback on Canny. We welcome any comments, feedback, and suggestions! https://truebit.canny.io/truebit-feedback @smfang

@teutsch
Copy link
Contributor

teutsch commented Jun 2, 2021

@smfang Shall we port this thread over to Canny?

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021

@teutsch I'd create more posts on Canny for sure.

@teutsch
Copy link
Contributor

teutsch commented Jun 2, 2021

@hsynorg Thank you!

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021

@hsynorg Thank you!

You're welcome. I lost about 2 ETH for testing :) I should have enough test feedbacks :) By the way I'm also a test developer.

I will post on Canny when I have free time.

@paidee
Copy link

paidee commented Jun 2, 2021 via email

@teutsch
Copy link
Contributor

teutsch commented Jun 2, 2021

@hsynorg Could you please send your resume to [email protected]?

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021

@hsynorg Could you please send your resume to [email protected]?

It will be my pleasure. I will definitely do!

@paidee
Copy link

paidee commented Jun 2, 2021 via email

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021

2155895546

I just texted you.

@paidee
Copy link

paidee commented Jun 2, 2021 via email

@hsynorg
Copy link
Contributor Author

hsynorg commented Jun 2, 2021 via email

@smfang
Copy link

smfang commented Jun 22, 2021

Have added to back log for investigation. Thanks!

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

No branches or pull requests

4 participants