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

chore: accommodate unclassifiable statuses in mod-service #10651

Merged
merged 19 commits into from Dec 27, 2023

Conversation

tinker-michaelj
Copy link
Collaborator

@tinker-michaelj tinker-michaelj commented Dec 26, 2023

Description:

  • Closes classifiableTakesPriorityOverUnclassifiable() #10650
  • Only adds a node id to a transaction id's History if its status is "classifiable" (i.e., not INVALID_PAYER_SIGNATURE or INVALID_NODE_ACCOUNT).
    • Updates hasDuplicate() to return NO_DUPLICATE when the transaction id's History is either missing or has only unclassifiable records.
  • Updates comparator used to order records for query responses to always put unclassifiable records last.

dikel and others added 18 commits December 20, 2023 12:02
Signed-off-by: dikel <dikelito@tutamail.com>
…from property

Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
…ate system contract

Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Signed-off-by: Michael Tinker <michael.tinker@swirldslabs.com>
Copy link

Node: HAPI Test (Token) Results

189 tests   189 ✔️  17m 22s ⏱️
  13 suites      0 💤
  13 files        0

Results for commit d936553.

Copy link

Node: HAPI Test (Crypto) Results

210 tests   208 ✔️  17m 21s ⏱️
  22 suites      2 💤
  22 files        0

Results for commit d936553.

Copy link

Node: E2E Test Results

    1 files      1 suites   22m 42s ⏱️
311 tests 311 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit d936553.

Copy link

Node: HAPI Test (Time Consuming) Results

21 tests     9 ✔️  25m 37s ⏱️
  2 suites  12 💤
  2 files      0

Results for commit d936553.

Copy link

Node: Unit Test Results

    2 292 files  ±0      2 292 suites  ±0   53m 12s ⏱️ +7s
118 629 tests +1  118 594 ✔️ +1  35 💤 ±0  0 ±0 
127 046 runs  +1  127 011 ✔️ +1  35 💤 ±0  0 ±0 

Results for commit d936553. ± Comparison against base commit 967c97f.

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

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

Comparison is base (967c97f) 62.82% compared to head (d936553) 62.81%.
Report is 3 commits behind head on develop.

Files Patch % Lines
...a/com/hedera/node/app/spi/records/RecordCache.java 0.00% 14 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #10651      +/-   ##
=============================================
- Coverage      62.82%   62.81%   -0.01%     
- Complexity     30913    30915       +2     
=============================================
  Files           3378     3378              
  Lines         136483   136493      +10     
  Branches       14225    14227       +2     
=============================================
+ Hits           85741    85743       +2     
- Misses         47343    47350       +7     
- Partials        3399     3400       +1     

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

Copy link

Node: HAPI Test (Misc) Results

421 tests   356 ✔️  28m 27s ⏱️
  73 suites    65 💤
  73 files        0

Results for commit d936553.

Copy link

Node: Integration Test Results

280 tests  ±0   280 ✔️ ±0   28m 39s ⏱️ +16s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit d936553. ± Comparison against base commit 967c97f.

Copy link

Node: HAPI Test (Smart Contract) Results

411 tests   402 ✔️  53m 59s ⏱️
  55 suites      9 💤
  55 files        0

Results for commit d936553.

Copy link
Member

@Neeharika-Sompalli Neeharika-Sompalli left a comment

Choose a reason for hiding this comment

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

LGTM !

@tinker-michaelj tinker-michaelj merged commit 509fe74 into develop Dec 27, 2023
40 of 41 checks passed
@tinker-michaelj tinker-michaelj deleted the 10637-accommodate-unclassifiable-statuses branch December 27, 2023 20:38
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.

classifiableTakesPriorityOverUnclassifiable()
5 participants