-
Notifications
You must be signed in to change notification settings - Fork 204
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
Status Core Components and State Components #5573
Status Core Components and State Components #5573
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## feat/test-only-processor-node #5573 +/- ##
=================================================================
- Coverage 79.98% 79.96% -0.03%
=================================================================
Files 713 716 +3
Lines 93997 94122 +125
=================================================================
+ Hits 75188 75267 +79
- Misses 13437 13470 +33
- Partials 5372 5385 +13
☔ View full report in Codecov by Sentry. |
… into state-core-and-state-components
return nil, err | ||
} | ||
|
||
// TODO should call this |
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.
TODO still relevant?
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.
removed
managedPeerMonitor common.ManagedPeersMonitor | ||
} | ||
|
||
func CreateStatusComponentsHolder(shardID uint32) (factory.StatusComponentsHolder, error) { |
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.
missing comments on all exported items in this 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.
done
|
||
// ArgsStateComponents will hold the components needed for state components | ||
type ArgsStateComponents struct { | ||
Cfg config.Config |
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.
might rename to Config
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.
done
Core: args.CoreComponents, | ||
StatusCore: args.StatusCore, | ||
StorageService: args.StoreService, | ||
ProcessingMode: 0, |
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.
might replace 0
with a constant
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.
done
Reasoning behind the pull request
StatusCoreComponents
StateComponents
StatusComponents
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?