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 #2124

Closed
outSH opened this issue Jul 20, 2022 · 0 comments · Fixed by #2125
Closed

feat(connector-fabric): add GetBlock operation to fabric connectors #2124

outSH opened this issue Jul 20, 2022 · 0 comments · Fixed by #2125
Labels
enhancement New feature or request

Comments

@outSH
Copy link
Contributor

outSH commented Jul 20, 2022

Add new function to both fabric connectors (fabric and fabric-socketio) to fetch single block data from the ledger.

@outSH outSH added the enhancement New feature or request label Jul 20, 2022
outSH added a commit to outSH/cactus that referenced this issue 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 conenctors.

Closes: hyperledger#2124

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
outSH added a commit to outSH/cactus that referenced this issue 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 conenctors.

Closes: hyperledger#2124

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
petermetz pushed a commit to outSH/cactus that referenced this issue Jul 23, 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 conenctors.

Closes: hyperledger#2124

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
petermetz pushed a commit to outSH/cactus that referenced this issue Jul 23, 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 conenctors.

Closes: hyperledger#2124

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
petermetz pushed a commit that referenced this issue Jul 24, 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 conenctors.

Closes: #2124

Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant