-
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
refactor: adapt AddressBookTestingTool to support transaction Bytes #17197
base: main
Are you sure you want to change the base?
refactor: adapt AddressBookTestingTool to support transaction Bytes #17197
Conversation
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
…sBookTestingTool-to-work-with-bytes # Conflicts: # platform-sdk/platform-apps/tests/AddressBookTestingTool/src/main/java/com/swirlds/demo/addressbook/AddressBookTestingToolState.java Signed-off-by: Ivan Kavaldzhiev <[email protected]>
…okTestingTool-to-work-with-bytes
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
…okTestingTool-to-work-with-bytes
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17197 +/- ##
============================================
+ Coverage 64.34% 64.43% +0.09%
- Complexity 20945 20966 +21
============================================
Files 2555 2555
Lines 96169 96181 +12
Branches 10054 10054
============================================
+ Hits 61877 61972 +95
+ Misses 30654 30557 -97
- Partials 3638 3652 +14
|
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.
Review and approve file platform-sdk/platform-apps/tests/AddressBookTestingTool/build.gradle.kts
…okTestingTool-to-work-with-bytes
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.
Review and approve file platform-sdk/platform-apps/tests/AddressBookTestingTool/build.gradle.kts
|
||
package com.swirlds.demo.addressbook; | ||
|
||
import static com.swirlds.platform.test.fixtures.state.FakeMerkleStateLifecycles.FAKE_MERKLE_STATE_LIFECYCLES; |
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.
FakeMerkleStateLifecycles was renamed to FakeStateLifecycles
so we need to change the import to
import static com.swirlds.platform.test.fixtures.state.FakeStateLifecycles.FAKE_MERKLE_STATE_LIFECYCLES;
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.
Good catch, I renamed it.
…okTestingTool-to-work-with-bytes
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
Description:
This PR enhances AddressBookTestingTool to utilize Bytes representation of system transactions.
Related issue(s):
Fixes #17081
Notes for reviewer:
Checklist