-
Notifications
You must be signed in to change notification settings - Fork 221
Configs by round for P2P NumFloodingRounds #7573
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
Configs by round for P2P NumFloodingRounds #7573
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feat/supernova-async-exec #7573 +/- ##
==========================================================
Coverage 77.68% 77.69%
==========================================================
Files 876 876
Lines 120949 120996 +47
==========================================================
+ Hits 93961 94004 +43
+ Misses 20794 20787 -7
- Partials 6194 6205 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| @@ -0,0 +1,9 @@ | |||
| package dto | |||
|
|
|||
| type ConfigVariable string | |||
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
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.
Right, added them
| ) | ||
| } | ||
|
|
||
| func (pce *processConfigsByEpoch) GetValue(variable dto.ConfigVariable) uint64 { |
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
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.
Right, added it
| return nil | ||
| } | ||
|
|
||
| // TODO: We should probably get rid of all these functions and use only GetValue func, similar to how enableEpochsHandler works |
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.
👍
…nd-num-flooding-rounds-2
…nd-num-flooding-rounds-2
…nd-num-flooding-rounds-2
1e217d8
into
feat/supernova-async-exec
Reasoning behind the pull request
NumFloodingRoundstoProcessConfigsByRoundProposed changes
GetValue(variable dto.ConfigVariable)functionality inprocessConfigsByEpochto resemble a bitenableEpochsHandler, such that instead of having N methods (Get var x/y/z), we only have one method that we can call for a specific value flagroundNotifierinprocessConfigsByEpochTesting procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
featbranch created?featbranch merging, do all satellite projects have a proper tag insidego.mod?