-
Notifications
You must be signed in to change notification settings - Fork 177
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
Periodic winning ticket redemption transaction failure #1014
Comments
After letting the transactions actually be submitted on-chain I was able to debug the transactions using This yielded the following result (where the last stament just seems to be a big in the truffle debugger and can be ignored)
According to the debugger we are not sending a transaction with a valid signature. Then it was established empirically through observing the orchestrator logs that when multiple tickets are received in a single payment, we end up with a race condition where we change the state (and thus pointer) of
As a quick fix it was proposed to move the allocation of |
Describe the bug
A clear and concise description of what the bug is.
I observed periodic winning ticket redemption transaction failure when doing e2e testing with a test-harness deployment. Some of the redemption transactions succeeded while others failed.
To Reproduce
Steps to reproduce the behavior:
make localdocker
in the go-livepeer directorynode examples/local.js
and wait for the setup to completegeth
binary installed locallygeth attach http://localhost:8545
multiple times.
8. Watch the logs of the orchestrator nodes until you observe a message that indicates that the new gas price of 400 has been cached
9. Start a stream by running
./test-harness stream test123
10. Watch the logs of the orchestrators nodes and observe some winning ticket redemption transactions succeeding and some failing
Expected behavior
A clear and concise description of what you expected to happen.
Winning ticket redemption transactions should not fail.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: