-
Notifications
You must be signed in to change notification settings - Fork 144
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: Changed the return type of removeAllSignatures method #2559
feat: Changed the return type of removeAllSignatures method #2559
Conversation
…ction class and fixed unit and integration related tests Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
…icKey method Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2559 +/- ##
==========================================
- Coverage 84.50% 78.23% -6.27%
==========================================
Files 283 283
Lines 71021 71035 +14
==========================================
- Hits 60015 55574 -4441
- Misses 11006 15461 +4455 ☔ View full report in Codecov by Sentry. |
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 but considering that the codecov fails... Can we add unit tests for L1920 and L1928 for Transaction.js. I think if we keep adding unit tests at some point it's going to stop crying that it doesn't reach the threshold.
It's something I tried to do in my PendingAirdropId PR. I tried to reach 100% codecov. It doesn't fail consistently for some reason but I think its because we are on the edge of the threshold and this is why it sometimes fails and sometimes passes.
…licKey method Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech>
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
6ce791d
to
1fc4373
Compare
e7e0546
to
5136a64
Compare
Quality Gate passedIssues Measures |
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
…h#2559) * feat: Changed the return type of removeAllSignatures method of Transaction class and fixed unit and integration related tests Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> * fix: Fixed some CI comments for typezation in collectSignaturesByPublicKey method Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> * tests: Added tests for early return checks in _coolectSignaturesByPublicKey method Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> --------- Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> Co-authored-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> Signed-off-by: b-l-u-e <winnie.gitau282@gmail.com>
…h#2559) * feat: Changed the return type of removeAllSignatures method of Transaction class and fixed unit and integration related tests Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> * fix: Fixed some CI comments for typezation in collectSignaturesByPublicKey method Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> * tests: Added tests for early return checks in _coolectSignaturesByPublicKey method Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> --------- Signed-off-by: ivaylogarnev-limechain <ivaylo.garnev@limechain.tech> Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> Co-authored-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech> Signed-off-by: b-l-u-e <winnie.gitau282@gmail.com>
Description:
This PR changes the return type of the removeAllSignatures() method in the Transaction class. Additionally, it addresses and fixes the related unit and integration tests to ensure compatibility with this change
Fixes
#2546
Checklist