-
Notifications
You must be signed in to change notification settings - Fork 138
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
fix: 16657: State validation fails for round 191161423 on LSE #16757
Conversation
Signed-off-by: Artem Ananev <artem.ananev@swirldslabs.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #16757 +/- ##
=============================================
- Coverage 63.50% 63.45% -0.05%
- Complexity 20295 20316 +21
=============================================
Files 2544 2545 +1
Lines 94488 94604 +116
Branches 9868 9878 +10
=============================================
+ Hits 60004 60033 +29
- Misses 30873 30954 +81
- Partials 3611 3617 +6
|
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 |
Fixes: #16657 Reviewed-by: Ivan Malygin <ivan@swirldslabs.com>, Oleg Mazurov <oleg.mazurov@swirldslabs.com> Signed-off-by: Artem Ananev <artem.ananev@swirldslabs.com>
Fixes: #16657 Reviewed-by: Ivan Malygin <ivan@swirldslabs.com>, Oleg Mazurov <oleg.mazurov@swirldslabs.com> Signed-off-by: Artem Ananev <artem.ananev@swirldslabs.com> Signed-off-by: artemananiev <33361937+artemananiev@users.noreply.github.com>
Fixes: #16657 Reviewed-by: Ivan Malygin <ivan@swirldslabs.com>, Oleg Mazurov <oleg.mazurov@swirldslabs.com> Signed-off-by: Artem Ananev <artem.ananev@swirldslabs.com> Signed-off-by: artemananiev <33361937+artemananiev@users.noreply.github.com> Signed-off-by: Nikita Lebedev <nikita.lebedev@limechain.tech>
Fix summary:
ReconnectNodeRemover
: changedallNodesReceived()
to work correctly, if the new leaf path range from the teacher is empty (-1, -1)VirtualHasher
: hash listener is now notified about hashing started/finished even if the leaf path range is emptyAbstractHashListener
: changedonHashingCompleted()
to run the final flush even if the list of collected dirty leaves and the list of dirty hashes are empty. This is needed to delete stale leaves from the data source. This method is now called byVirtualHasher
even if the virtual map is empty on the teacherTesting:
Fixes: #16657
Signed-off-by: Artem Ananev artem.ananev@swirldslabs.com