-
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
fix: correct a missing conversion between AddressBook cert hash hex-string-as-bytes and actual SHA2-384 hash bytes for Node entries. #16659
Conversation
* When migrating from an `AddressBook` to the `Node`s, convert form hex string to hash bits * When generating an `AddressBook` from the `Node`s, convert from hash bits to hex string * Fix the one unit test that assumed both were arbitrary bytes. * Fix the one HAPI test that interacts with the `101`/`102` file generation. Signed-off-by: Joseph Sinclair <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/0.56 #16659 +/- ##
==================================================
- Coverage 58.35% 58.35% -0.01%
Complexity 20000 20000
==================================================
Files 2738 2738
Lines 100489 100491 +2
Branches 10378 10378
==================================================
Hits 58643 58643
- Misses 38214 38216 +2
Partials 3632 3632
|
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 |
Just curious, why are the changes to |
Those files do not exist on the |
...rc/main/java/com/hedera/node/app/service/addressbook/impl/schemas/V053AddressBookSchema.java
Show resolved
Hide resolved
...ervice-impl/src/main/java/com/hedera/node/app/service/file/impl/schemas/V0490FileSchema.java
Show resolved
Hide resolved
...rc/main/java/com/hedera/node/app/service/addressbook/impl/schemas/V053AddressBookSchema.java
Show resolved
Hide resolved
Signed-off-by: Neeharika-Sompalli <[email protected]>
Node: HAPI Test (Restart) Results7 tests 2 ✅ 3m 8s ⏱️ For more details on these parsing errors and failures, see this check. Results for commit fd7c4cb. ♻️ This comment has been updated with latest results. |
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! Thanks @jsync-swirlds
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, tyvm @jsync-swirlds and @Neeharika-Sompalli 🙏
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 - thanks @jsync-swirlds and @Neeharika-Sompalli
AddressBook
to theNode
s, convert from hex string to hash bitsAddressBook
from theNode
s, convert from hash bits to hex string101
/102
file generation.