-
Notifications
You must be signed in to change notification settings - Fork 176
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
[Observer] Ambiguous references #6547
base: master
Are you sure you want to change the base?
[Observer] Ambiguous references #6547
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6547 +/- ##
==========================================
+ Coverage 41.26% 41.29% +0.02%
==========================================
Files 2031 2031
Lines 145883 145783 -100
==========================================
- Hits 60204 60201 -3
+ Misses 79459 79360 -99
- Partials 6220 6222 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
return nil, fmt.Errorf("could not create bootstrap identities: %w", err) | ||
} | ||
|
||
for _, b := range ids { |
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.
@peterargue I think, this is the correct fix from Uliana, as for me these two for
loops look identical, sort of copy-paste mistake.
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.
Looks good to me.
…m:The-K-R-O-K/flow-go into UlyanaAndrukhiv/6344-ambiguous-references
Closes: #6344
Context
This PR resolves ambiguities in structs references to improve code clarity and consistency in the codebase.
Specifically, it:
bootstrapNodeAddresses
andbootstrapNodePublicKeys
configuration fields in theFlowNodeBuilder
and reused them in thefollower
andobserver
.BuildPublicLibp2pNode
forfollower
andobserver
builders to avoid duplication of code.