-
Notifications
You must be signed in to change notification settings - Fork 682
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
feat(optimistic_block): pass optimistic block to producers over T1 #12888
Conversation
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.
Can we add a test? I think test_optimistic_block
can be checked with stronger condition like "number of cache hits ~= number of processed chunks".
// TODO(#10584): send this message to all the producers. | ||
// Maybe we just need to send this to the next producers. |
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.
Isn't tier1 the same as "all validators"? Yeah we need to send it to all chunk producers in this epoch.
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.
The question here was between thw whole of T1 or just next N blocks worth of producers. 99 vs 8(shards) * N(blocks). But we can go with all for now.
afaab02
to
c0696ac
Compare
c0696ac
to
3c20bb6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12888 +/- ##
==========================================
- Coverage 70.54% 70.53% -0.02%
==========================================
Files 851 851
Lines 174914 174983 +69
Branches 174914 174983 +69
==========================================
+ Hits 123395 123424 +29
- Misses 46397 46430 +33
- Partials 5122 5129 +7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Pass the optimistic block to all producers over the T1 network.