-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix(bootnode): disable req/response sync on bootnode p2p #9298
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
fix(bootnode): disable req/response sync on bootnode p2p #9298
Conversation
WalkthroughWalkthroughThe recent update introduces a significant change where the Changes
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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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
Maybe this needs a rebase for it to pick up |
Head branch was pushed to by a user without write access
609782b
to
381d4f9
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #9298 +/- ##
============================================
+ Coverage 27.86% 40.15% +12.28%
============================================
Files 167 79 -88
Lines 7357 5068 -2289
Branches 1271 735 -536
============================================
- Hits 2050 2035 -15
+ Misses 5186 2912 -2274
Partials 121 121
Flags with carried forward coverage won't be shown. Click here to find out more. |
Thanks @tynes, just rebased 👍 |
Description
We noticed a lot of panics in our production bootnode logs due to nil pointer errors. This happens due to following:
This PR forces request/response to be disabled -- as the bootnode doesn't support it (and logs a warning if this is not the case). It also updates the stub
PayloadByNumber
method to return an unsupported error to ensure that if it's used anywhere else, the caller will receive an error vs. panicing.