-
Notifications
You must be signed in to change notification settings - Fork 148
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: Add removeSignature/clearAllSignatures methods #2491
Merged
ivaylogarnev-limechain
merged 16 commits into
main
from
feat/2461-remove-clear-signatures
Sep 20, 2024
Merged
feat: Add removeSignature/clearAllSignatures methods #2491
ivaylogarnev-limechain
merged 16 commits into
main
from
feat/2461-remove-clear-signatures
Sep 20, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ivaylogarnev-limechain
requested review from
rwalworth,
agadzhalov and
ivaylonikolov7
August 27, 2024 06:28
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
from
August 27, 2024 06:31
5adbfda
to
6607bd9
Compare
… class, wrote some unit tests for both Signed-off-by: ivaylogarnev-limechain <[email protected]>
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
from
August 27, 2024 06:33
6607bd9
to
0828c1d
Compare
…d throwing an error if trying to remove non-existing signature Signed-off-by: ivaylogarnev-limechain <[email protected]>
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
2 times, most recently
from
August 28, 2024 08:13
20136c7
to
1ecb4ed
Compare
Signed-off-by: ivaylogarnev-limechain <[email protected]>
…gment Signed-off-by: ivaylogarnev-limechain <[email protected]>
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
from
August 28, 2024 08:17
1ecb4ed
to
af34748
Compare
…movedSignatures and wrote tests for both Signed-off-by: ivaylogarnev-limechain <[email protected]>
0xivanov
reviewed
Aug 29, 2024
jbair06
reviewed
Aug 29, 2024
jbair06
reviewed
Aug 29, 2024
jbair06
reviewed
Aug 29, 2024
… adjusted the logic, renamed clearAllSignatures and changed the return type, adjusted some tests Signed-off-by: ivaylogarnev-limechain <[email protected]>
This was referenced Sep 3, 2024
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
from
September 19, 2024 19:04
e4652ea
to
10525e9
Compare
Signed-off-by: ivaylogarnev-limechain <[email protected]>
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
from
September 19, 2024 19:05
10525e9
to
81245d0
Compare
Signed-off-by: ivaylogarnev-limechain <[email protected]>
Signed-off-by: ivaylogarnev-limechain <[email protected]>
…some methods conditions Signed-off-by: ivaylogarnev-limechain <[email protected]>
Signed-off-by: ivaylogarnev-limechain <[email protected]>
…tests and examples for the multi-node flow Signed-off-by: ivaylogarnev-limechain <[email protected]>
…o examples Signed-off-by: ivaylogarnev-limechain <[email protected]>
Signed-off-by: ivaylogarnev <[email protected]>
ivaylonikolov7
previously approved these changes
Sep 20, 2024
agadzhalov
previously approved these changes
Sep 20, 2024
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
Signed-off-by: ivaylogarnev-limechain <[email protected]>
ivaylogarnev-limechain
dismissed stale reviews from agadzhalov and ivaylonikolov7
via
September 20, 2024 10:58
a79edd5
…aph/hedera-sdk-js into feat/2461-remove-clear-signatures Signed-off-by: ivaylogarnev-limechain <[email protected]>
ivaylogarnev-limechain
force-pushed
the
feat/2461-remove-clear-signatures
branch
from
September 20, 2024 10:59
a79edd5
to
c5e7d1e
Compare
Quality Gate failedFailed conditions |
agadzhalov
approved these changes
Sep 20, 2024
ivaylogarnev-limechain
deleted the
feat/2461-remove-clear-signatures
branch
September 20, 2024 11:59
b-l-u-e
pushed a commit
to b-l-u-e/hedera-sdk-js
that referenced
this pull request
Oct 13, 2024
* feat: Added removeSignature/clearAllSignatures methods to Transaction class, wrote some unit tests for both Signed-off-by: ivaylogarnev-limechain <[email protected]> * feat: Added more unit tests for removeSignature/clearAllSignatures and throwing an error if trying to remove non-existing signature Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Turned signAndAddSignatures function into arrow Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Cleared some unnecessary comments and changed variable assigment Signed-off-by: ivaylogarnev-limechain <[email protected]> * feat: Enhancement removeSignature/clearAllSignatures to return the removedSignatures and wrote tests for both Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Removed the signature param from removeSignature method and adjusted the logic, renamed clearAllSignatures and changed the return type, adjusted some tests Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Remove redundant code Signed-off-by: ivaylogarnev-limechain <[email protected]> * Merge branch 'main' into feat/2461-remove-clear-signatures Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Cleared some uneccessary comments & changed a bit the flow some methods conditions Signed-off-by: ivaylogarnev-limechain <[email protected]> * Merge branch main into feat/2461-remove-clear-signatures Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Refactored signTransaction method a bit, added integration tests and examples for the multi-node flow Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Removed duplicate integration tests and added description to examples Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Examples pre-release warnings fixes Signed-off-by: ivaylogarnev-limechain <[email protected]> --------- Signed-off-by: ivaylogarnev-limechain <[email protected]> Signed-off-by: ivaylogarnev <[email protected]> Co-authored-by: ivaylonikolov7 <[email protected]> Signed-off-by: b-l-u-e <[email protected]>
b-l-u-e
pushed a commit
to b-l-u-e/hedera-sdk-js
that referenced
this pull request
Oct 13, 2024
* feat: Added removeSignature/clearAllSignatures methods to Transaction class, wrote some unit tests for both Signed-off-by: ivaylogarnev-limechain <[email protected]> * feat: Added more unit tests for removeSignature/clearAllSignatures and throwing an error if trying to remove non-existing signature Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Turned signAndAddSignatures function into arrow Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Cleared some unnecessary comments and changed variable assigment Signed-off-by: ivaylogarnev-limechain <[email protected]> * feat: Enhancement removeSignature/clearAllSignatures to return the removedSignatures and wrote tests for both Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Removed the signature param from removeSignature method and adjusted the logic, renamed clearAllSignatures and changed the return type, adjusted some tests Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Remove redundant code Signed-off-by: ivaylogarnev-limechain <[email protected]> * Merge branch 'main' into feat/2461-remove-clear-signatures Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Cleared some uneccessary comments & changed a bit the flow some methods conditions Signed-off-by: ivaylogarnev-limechain <[email protected]> * Merge branch main into feat/2461-remove-clear-signatures Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Refactored signTransaction method a bit, added integration tests and examples for the multi-node flow Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Removed duplicate integration tests and added description to examples Signed-off-by: ivaylogarnev-limechain <[email protected]> * refactor: Examples pre-release warnings fixes Signed-off-by: ivaylogarnev-limechain <[email protected]> --------- Signed-off-by: ivaylogarnev-limechain <[email protected]> Signed-off-by: ivaylogarnev <[email protected]> Co-authored-by: ivaylonikolov7 <[email protected]> Signed-off-by: b-l-u-e <[email protected]>
This was referenced Nov 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This PR introduces the removeSignature and clearAllSignatures methods, allowing transactions to manage signatures more flexibly. Specifically, these methods enable the removal of individual signatures or the clearing of all signatures from a transaction after they have been added and signed.
Related issue(s):
#2461
Checklist