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

New chaincode.QueryApproved capability in Fabric v3 #208

Open
bestbeforetoday opened this issue Oct 8, 2024 · 0 comments
Open

New chaincode.QueryApproved capability in Fabric v3 #208

bestbeforetoday opened this issue Oct 8, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@bestbeforetoday
Copy link
Member

bestbeforetoday commented Oct 8, 2024

As a blockchain administrator
I want the chaincode QueryApproved function to support Fabric v3 features
So that I can query all chaincode approvals for a channel

Fabric v3 allows the QueryApprovedChaincodeDefinition lifecycle transaction function to:

  1. Omit a sequence ID to query the latest sequence number of a given chaincode definition.
  2. Specify only the channel name to query all approved chaincode definitions on the channel.

These capabilities should be tested in the end-to-end tests when using Fabric v3. If they add value, additional unit tests should be added for these scenarios. This behaviour should be documented in the Godoc for the chaincode.Gateway.QueryApproved function.

See the Fabric CLI examples for further information.

@bestbeforetoday bestbeforetoday added the good first issue Good for newcomers label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant