-
Notifications
You must be signed in to change notification settings - Fork 127
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
[patch + MG test] tproxy receiving old share #910
[patch + MG test] tproxy receiving old share #910
Conversation
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Bencher
🚨 10 ALERTS: Threshold Boundary Limits exceeded!
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
Bencher
Click to view all benchmark results
Bencher - Continuous Benchmarking View Public Perf Page Docs | Repo | Chat | Help |
bb9c643
to
bdd804e
Compare
look at how are the other tests. There is a directory with the name of the test, that contains the json tests and a script (that in your case will be
I would personally specify in the test (or wherever it is clear to see) that the test passes because there is a bug, and have to be changed whenever the bug is fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It must be added the machinery needed to run this new test among the others during the workflow of github actions.
Other two minor fixes should be addressed.
Apart from this, looks good to me.
78749a0
to
c638d52
Compare
@lorbax I made the changes from your feedback, plus the actual bugfix (described on the PR header) |
a29e603
to
3b4484f
Compare
protocols/v2/roles-logic-sv2/src/channel_logic/channel_factory.rs
Outdated
Show resolved
Hide resolved
919d29d
to
1bb0997
Compare
@lorbax can you approve the PR if you feel it's ok? |
2f5a2a1
to
d649b0a
Compare
it seems the bugfix is breaking reverting to draft, since this needs to be fixed before the PR is merged |
that is a very comprehensive outline, thanks for the info! I think the best approach is to fix stratum/roles/test-utils/sv1-mining-device/src/job.rs Lines 25 to 31 in 7841021
I will fix it on this same PR. cc @rrybarczyk just so you're aware as seems you have some git history on this area of the codebase |
@lorbax I fixed the bug described on my previous message via 61c5726 however, That seems to come from the fact that shares are being rejected by tProxy, as we can verify on these logs:
a I tweaked The goal was to avoid tProxy rejecting shares. The test seems stable now. |
I think that what you've done is to make the t-proxy make a lot more shares that it is supposed to do and consequentially provide a share to the upstream before UpdateChannel is sent. Makes sense. |
I would revert this PR TBH, clear the git history and also get two approvals. First approval was not reconfirmed after additional code changes. |
sure, I think this is a good suggestion
that wouldn't be simple, because we would need to force-push to we can always do a PR that reverts each commit individually, but I think that would miss the point I think the most important action would be to establish this as a development policy and make sure all core devs are aligned, and that would help messing up commit history going forward feel free to send PRs suggesting new conventions, perhaps this could fit |
Your points are good. We can discuss it, I was agree with the author in merging it, but we should have found another reviewer! |
Changelog:
Todo:
message-generator/test/translation-proxy/translation-proxy.json