-
Notifications
You must be signed in to change notification settings - Fork 72
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 WS_NEW_HEADS_ENABLED default #3226
fix WS_NEW_HEADS_ENABLED default #3226
Conversation
f9085d8
to
fa3093c
Compare
Hello @treethought, thank you very much for your contribution! Great catch!! However, could you please create a GitHub issue detailing the problem and the intended purpose of this fix? Additionally, kindly link the issue to this PR. For guidance on structuring your contribution to align with our standards, please refer to this document. |
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! TYVM for the great catch!
@natanasow Hey Nikki could you please double check to make sure that the loss at at this line wasn't on purpose? |
@quiet-node It wasn't on purpose and most likely happened during resolving conflicts. @treethought There is another approach I would choose for that issue. The new config service supports default values so we can add it here https://github.com/hashgraph/hedera-json-rpc-relay/blob/main/packages/config-service/src/services/globalConfig.ts#L713 |
+1, it would be better for default values to be defined inside |
fa3093c
to
d2f61ea
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.
LGTM! Thanks for the contribution!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3226 +/- ##
=======================================
Coverage 83.17% 83.17%
=======================================
Files 66 66
Lines 4314 4314
Branches 843 843
=======================================
Hits 3588 3588
Misses 483 483
Partials 243 243
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
@treethought Looks like your commit wasn't signed by your GPG key. Here’s a helpful resource: Signing Commits. |
Signed-off-by: Cam Sweeney <[email protected]>
d2f61ea
to
ecbf8f2
Compare
Quality Gate passedIssues Measures |
pushed with signed commit |
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.
LG
@treethought merged the commit! 🚀🚀🚀 Thank you very much for the work! Look forward to more contributions in the future! 🙌🏼🙌🏼🙌🏼 |
Description:
Restores the behavior of defaulting to true for the env var.
Fixes #3227
This change was originally made in #2361, but seems to have been lost in #3047 (more specific at this line)
Notes for reviewer:
Checklist