Skip to content
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

feat: Differential testing: Enhance account store dumper to handle modular representation #11489

Merged
merged 7 commits into from
Feb 28, 2024

Conversation

vtronkov
Copy link
Contributor

@vtronkov vtronkov commented Feb 12, 2024

Description:

  • Adding dumpers for the accounts

Related issue(s):

Fixes #10990

Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
@vtronkov vtronkov added Limechain Work planned for the LimeChain team Modularization Issues or PRs related to modularization labels Feb 12, 2024
@vtronkov vtronkov self-assigned this Feb 12, 2024
Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
@vtronkov vtronkov marked this pull request as ready for review February 12, 2024 14:22
@vtronkov vtronkov requested a review from a team as a code owner February 12, 2024 14:22
Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Restart) Results

2 tests   2 ✔️  5m 14s ⏱️
2 suites  0 💤
2 files    0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Node Death Reconnect) Results

2 tests   2 ✔️  7m 47s ⏱️
2 suites  0 💤
2 files    0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Token) Results

190 tests   190 ✔️  18m 53s ⏱️
  14 suites      0 💤
  14 files        0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: E2E Test Results

    1 files      1 suites   23m 27s ⏱️
311 tests 311 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Crypto) Results

214 tests   214 ✔️  23m 37s ⏱️
  23 suites      0 💤
  23 files        0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Misc) Results

431 tests   421 ✔️  35m 46s ⏱️
  75 suites    10 💤
  75 files        0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Time Consuming) Results

21 tests   21 ✔️  54m 5s ⏱️
  3 suites    0 💤
  3 files      0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: Integration Test Results

    5 files      5 suites   1h 5m 31s ⏱️
322 tests 322 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

Node: HAPI Test (Smart Contract) Results

494 tests   491 ✔️  57m 2s ⏱️
  55 suites      3 💤
  55 files        0

Results for commit 9e4c02d.

♻️ This comment has been updated with latest results.

Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
Copy link

github-actions bot commented Feb 14, 2024

Node: Unit Test Results

    2 259 files  +  7      2 259 suites  +7   2h 46m 30s ⏱️ + 32m 39s
111 012 tests +14  110 970 ✔️ +14  42 💤 ±0  0 ±0 
119 400 runs  +15  119 358 ✔️ +15  42 💤 ±0  0 ±0 

Results for commit 9e4c02d. ± Comparison against base commit 601f92b.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 368 lines in your changes are missing coverage. Please review.

Comparison is base (601f92b) 61.91% compared to head (9e4c02d) 61.74%.
Report is 14 commits behind head on develop.

Files Patch % Lines
...hedera/node/app/bbm/accounts/AccountDumpUtils.java 0.00% 174 Missing ⚠️
...om/hedera/node/app/bbm/accounts/HederaAccount.java 0.00% 112 Missing ⚠️
...com/hedera/node/app/bbm/utils/ThingsToStrings.java 0.00% 78 Missing ⚠️
...main/java/com/hedera/node/app/bbm/StateDumper.java 0.00% 4 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #11489      +/-   ##
=============================================
- Coverage      61.91%   61.74%   -0.18%     
+ Complexity     30671    30661      -10     
=============================================
  Files           3381     3381              
  Lines         138289   138609     +320     
  Branches       14514    14527      +13     
=============================================
- Hits           85627    85585      -42     
- Misses         48995    49354     +359     
- Partials        3667     3670       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# Conflicts:
#	hedera-node/hedera-app/src/main/java/com/hedera/node/app/bbm/StateDumper.java
Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
Copy link
Member

@david-bakin-sl david-bakin-sl left a comment

Choose a reason for hiding this comment

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

Still working on a full review - but since you've already pushed changes, here were my initial comments (before I got distracted)

david-bakin-sl
david-bakin-sl previously approved these changes Feb 15, 2024
Copy link
Member

@david-bakin-sl david-bakin-sl left a comment

Choose a reason for hiding this comment

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

LGTM!

Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
Copy link
Member

@david-bakin-sl david-bakin-sl left a comment

Choose a reason for hiding this comment

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

Nothing new to comment on, TYVM, and sorry for the delay!

LGTM

Copy link
Collaborator

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

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

LGTM, tyvm @vtronkov !

@vtronkov vtronkov merged commit 93c1a1e into develop Feb 28, 2024
47 of 49 checks passed
@vtronkov vtronkov deleted the 10990-account-store-mod-dumper branch February 28, 2024 06:47
imalygin pushed a commit that referenced this pull request Mar 4, 2024
…dular representation (#11489)

Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
netopyr pushed a commit that referenced this pull request Mar 19, 2024
…dular representation (#11489)

Signed-off-by: Valentin Tronkov <99957253+vtronkov@users.noreply.github.com>
(cherry picked from commit 93c1a1e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Limechain Work planned for the LimeChain team Modularization Issues or PRs related to modularization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Differential testing: Enhance account store dumper to handle modular representation
3 participants