-
Notifications
You must be signed in to change notification settings - Fork 113
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
go/roothash: Drop support for multiple committees #3179
Conversation
c50b525
to
d953945
Compare
cb74419
to
c28c9bc
Compare
Codecov Report
@@ Coverage Diff @@
## master #3179 +/- ##
==========================================
- Coverage 68.37% 67.92% -0.45%
==========================================
Files 386 380 -6
Lines 37962 36558 -1404
==========================================
- Hits 25957 24833 -1124
+ Misses 8699 8496 -203
+ Partials 3306 3229 -77
Continue to review full report at Codecov.
|
c28c9bc
to
0109e60
Compare
f1a6dff
to
c6f88c2
Compare
Since there is currently no transaction scheduler implementation which would support multiple committees, there is no sense in the merge node to try to support such cases as it could be a source of bugs. Additionally it results in extra round trips to storage nodes due to the Merge operation which in case of a single committee does not do anything. The merge node is also the only client for the Merge* storage operations, so they can just be removed in order to reduce the exposed API surface.
a935be1
to
fc55eb7
Compare
Since P2P message delivery is async, the roundCtx could be for the previous round and so could get cancelled prematurely. Introduce a timeout instead.
fc55eb7
to
2209ffe
Compare
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.
thanks for the changes
Since there is currently no transaction scheduler implementation which would
support multiple committees, there is no sense in having the merge node as it
could be a source of bugs.
The merge node is also the only client for the Merge* storage operations, so
they can just be removed in order to reduce the exposed API surface.