Skip to content

Conversation

@mariusmihaic
Copy link
Contributor

@mariusmihaic mariusmihaic commented Dec 18, 2025

Reasoning behind the pull request

  • Move p2p cfg NumFloodingRounds to ProcessConfigsByRound

Proposed changes

  • Added GetValue(variable dto.ConfigVariable) functionality in processConfigsByEpoch to resemble a bit enableEpochsHandler, 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 flag
  • Integrated roundNotifier in processConfigsByEpoch

Testing procedure

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@mariusmihaic mariusmihaic self-assigned this Dec 18, 2025
@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 63.51351% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.69%. Comparing base (13e81f1) to head (10c8e56).
⚠️ Report is 9 commits behind head on feat/supernova-async-exec.

Files with missing lines Patch % Lines
common/configs/processConfigs.go 42.30% 14 Missing and 1 partial ⚠️
common/configs/vars.go 25.00% 8 Missing and 1 partial ⚠️
factory/core/coreComponents.go 71.42% 1 Missing and 1 partial ⚠️
node/nodeRunner.go 0.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mariusmihaic mariusmihaic marked this pull request as ready for review December 19, 2025 14:37
@@ -0,0 +1,9 @@
package dto

type ConfigVariable string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comments

Copy link
Contributor Author

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 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comments

Copy link
Contributor Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mariusmihaic mariusmihaic merged commit 1e217d8 into feat/supernova-async-exec Jan 8, 2026
10 of 11 checks passed
@mariusmihaic mariusmihaic deleted the MX-17392-configs-by-round-num-flooding-rounds-2 branch January 8, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants