-
Notifications
You must be signed in to change notification settings - Fork 108
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
Remove transactionMemo from TransactionSupplier and expirationTime from TokenClient #2423
Conversation
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Codecov Report
@@ Coverage Diff @@
## main #2423 +/- ##
============================================
- Coverage 90.74% 90.70% -0.04%
Complexity 2434 2434
============================================
Files 420 420
Lines 11633 11603 -30
Branches 1014 1014
============================================
- Hits 10556 10525 -31
- Misses 745 747 +2
+ Partials 332 331 -1
Continue to review full report at Codecov.
|
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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
* Remove data generator (#2387) * Remove the data generator module and all references to it. * Move TransactionSuppliers and anything else needed by the monitor into the monitor module * Add unit tests for the TransactionSuppliers Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com> * Fix startDate logic on empty DB (#2421) * Fix startDate logic on empty DB The current MirrorDateRangePropertiesProcessor.newDateRangeFilter() currently doesn't honor the startDate set on an empty db - Update newDateRangeFilter() logic to handle case when there's no lastFileInstant - Add a test case to verify scenario Signed-off-by: Nana-EC <nana.essilfie-conduah@hedera.com> * Remove transactionMemo from TransactionSupplier and expirationTime from TokenClient (#2423) * Remove setting transactionMemo in TransactionSuppliers * Remove setting expirationTime in TokenClient Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com> * Fix rest service startup crash (#2425) - replace the one-time verifyDbConnection with on-demand transaction result & type loading Signed-off-by: Xin Li <xin.li@hedera.com> * Add missing token account association migration (#2424) - add a db migration script to add the missing token account associations Signed-off-by: Xin Li <xin.li@hedera.com> Co-authored-by: Ian Jungmann <ian.jungmann@hedera.com> Co-authored-by: Nana-EC <56320167+Nana-EC@users.noreply.github.com> Co-authored-by: Xin Li <59580070+xin-hedera@users.noreply.github.com>
Description:
transactionMemo
in eachTransactionSupplier
, as it is already being set later in theTransactionPublisher
.expirationTime
in theTokenClient
, as we already set theautoRenewPeriod
for the token, and settingexpirationTime
on a token makesautoRenewPeriod
null in the SDK.Notes for reviewer:
Ran the
tokenbase
Acceptance tests to confirm the TokenClient still works, all passed.Checklist