-
Notifications
You must be signed in to change notification settings - Fork 143
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
chore: 16221 swirlds-state-impl
module
#16379
Conversation
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
…odule. Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Spotless Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #16379 +/- ##
=============================================
- Coverage 63.35% 63.35% -0.01%
+ Complexity 20093 20092 -1
=============================================
Files 2526 2526
Lines 93647 93647
Branches 9804 9804
=============================================
- Hits 59334 59329 -5
- Misses 30711 30719 +8
+ Partials 3602 3599 -3
|
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn 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.
There are a number of modules that now depend on the swirlds-state-impl
module instead of remaining decoupled by depending on the api only. I assume this is in preparation for more changes coming?
Yes, there will be more changes. It's a preparation for migration of classes from |
The changes look fine, but may be sub-optimal. So my proposal is to move a few classes a little bit:
@tinker-michaelj @jasperpotts What do you think about it? |
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
1a25e04
Signed-off-by: Ivan Malygin <ivan@swirldslabs.com>
bd23d36
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.
Reapproved.
Makes sense to me Artem; it would be nice at some point if we could extract the common logic between the |
Thank you for the hint, Michael. I'll create follow up ticket. |
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, ty @imalygin !
@imalygin this PR seems to have broken the See the associated run here: https://github.com/hashgraph/hedera-services/actions/runs/11709318923 |
Description:
This PR introduces
swirlds-state-impl
module. This module contains classes related to the implementation ofswirlds-state-api
.This PR migrates classes from
swirlds-state-api
toswirlds-state-impl
Related issue(s):
Fixes #16221
Notes for reviewer:
PLEASE DON'T BE INTIMIDATED BY THE SIZE OF THIS PR
It does only three things:
THERE ARE NO CHANGES IN THE CODE LOGIC
Just scroll it through, it shouldn't take too long.
Checklist