Skip to content
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(connector-fabric): add GetBlock operation to fabric connectors #2125

Merged
merged 1 commit into from
Jul 24, 2022

Conversation

outSH
Copy link
Contributor

@outSH outSH commented Jul 20, 2022

  • Add common querySystemChainCode for executing qscc methods.
  • Add new endpoint GetBlockEndpointV1 and getBlock connector method
    for retrieving blocks by number, hash, or txId to the main fabric connector.
  • Add similar getBlock function to fabric-socketio connector.
  • Add functional tests to check new functions in both connectors.

Closes: #2124

Signed-off-by: Michal Bajer michal.bajer@fujitsu.com

Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@petermetz petermetz left a 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!

- Add common `querySystemChainCode` for executing qscc methods.
- Add new endpoint `GetBlockEndpointV1` and `getBlock` connector method
  for retrieving blocks by number, hash, or txId to the main fabric connector.
- Add similar `getBlock` function to fabric-socketio connector.
- Add functional tests to check new functions in both conenctors.

Closes: hyperledger-cacti#2124

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
@petermetz petermetz merged commit 00572ed into hyperledger-cacti:main Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(connector-fabric): add GetBlock operation to fabric connectors
3 participants