-
Notifications
You must be signed in to change notification settings - Fork 170
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
chore(blockchain) : non optimistic client should not request build optimistically #2240
Conversation
Signed-off-by: nidhi-singh02 <[email protected]>
Signed-off-by: nidhi-singh02 <[email protected]>
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2240 +/- ##
==========================================
+ Coverage 30.78% 30.88% +0.10%
==========================================
Files 331 331
Lines 15372 15321 -51
Branches 20 20
==========================================
Hits 4732 4732
+ Misses 10319 10268 -51
Partials 321 321
|
E2E tests are failing, seems blocks finalisation count is stuck in tests. I am debugging it. |
I believe the check for Do note that removing the call to |
Signed-off-by: Nidhi Singh <[email protected]>
Signed-off-by: nidhi-singh02 <[email protected]>
Makes sense, removing the check worked. Thanks for your valuable pointers @shotes! |
Signed-off-by: Nidhi Singh <[email protected]>
// block is finalized.This function should only be used to notify | ||
// the EL client of the new head and should not request optimistic builds, as: | ||
// Optimistic clients already request builds in handleOptimisticPayloadBuild() | ||
// Non-optimistic clients should never request optimistic builds. |
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.
q: this function is still called in its own goroutine. Is this necessary? Can we call it synchronously? @nidhi-singh02 @shotes
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.
nits and a couple of questions
Signed-off-by: Nidhi Singh <[email protected]>
Signed-off-by: nidhi-singh02 <[email protected]>
Signed-off-by: nidhi-singh02 <[email protected]>
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.
lgtm
Non optimistic client currently request for build optimistically, fixing it with this changeset.