-
Notifications
You must be signed in to change notification settings - Fork 295
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(fabric-socketio-connector): sending transactions signed on the client-side #2071
feat(fabric-socketio-connector): sending transactions signed on the client-side #2071
Conversation
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
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
@petermetz @jagpreetsinghsasan (cc: @izuru0) |
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.
And nice learning from this.
examples/cactus-example-discounted-asset-trade/transaction-fabric.ts
Outdated
Show resolved
Hide resolved
...n-ledger-connector-fabric-socketio/src/main/typescript/connector/fabric-proto-serializers.ts
Show resolved
Hide resolved
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.
@outSH Please squash + rebase onto upstream main (and resolve the merge conflicts)
This PR/issue depends on:
|
afe7e1b
to
54d1f95
Compare
@petermetz Rebased and tested, ready for merge. |
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.
@outSH LGTM, thank you!
…lient-side - Add functions to support entire process of sending transaction to the ledger without sharing any private key with the connector. - Add test cases to check the new functionalities. - Adjust asset-trade sample app to use new logic that doesn't send the private key to the connector. - Move fabric signing utils to a separate file. - Add fabric protobuf serializers and deserializers, so they can be send back and forth between connector and BLP without loosing type information. - Add an option to FabricTestLedgerV1 to allow attaching to already running ledger container. This can speed up test development/troubleshoot process. - Improve fabric-all-in-one ledger healthcheck, so that it waits for basic chaincode intialization. This is not strictly needed by current tests, but may be expected by future tests. - Refactor duplicated logic in fabric-connector. - Fix fabric-socketio module entry points (minor fix). Closes: 2070 Depends on: 2047 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
54d1f95
to
9ec4008
Compare
any private key with the connector.
between connector and BLP without loosing type information.
This can speed up test development/troubleshoot process.
This is not strictly needed by current tests, but may be expected by future tests.
Closes: #2070
Depends on #2047
Signed-off-by: Michal Bajer michal.bajer@fujitsu.com
As always, please review only the last commit. Remaining ones are just dependencies, that will be squashed before an actual merge.