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

Backend- Improper updation of Txn Count and Chaincodes list #411

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

ArchanaArige
Copy link
Contributor

@ArchanaArige ArchanaArige commented Jun 28, 2023

What this PR does / why we need it:

Backend - Issue in updating the Txn count w.r.t mutiple versions of the same chaincode and issue in fetching the chaincodes list w.r.t to other channel.
Considerations:
Tested with Hyperledger Fabric Version 2.2 and 2.4.7
No of Channels -2
channel Name:"mychannelb" In this channel the deployed chaincode name is "basic" and with versions 1 and 2. The other deployed chaincode is "auction" with version 1.
channel name: "channel2" In this channel the deployed chaincode name is "auction" - version 1.

Issue#1: When we invoke a Txn, the Txn count is incrementing by one in all the available versions of the same chaincode.
Isse#2: Issue in fetching the list of chaincodes when there are multiple channels.
The chaincode installed in channel2 is only "auction" but it is picking even the "basic- V2" chaincode which is installed in channel - mychannelb.
Expected Correct Behaviour:
The correct Txn count w.r.t chaincode version.
Fetch the correct list of chaincodes installed with specific to channels.

Which issue(s) this PR fixes:

Fixes #408

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation, usage docs, etc.:


Signed-off-by: ArchanaArige <nigam_archana@yahoo.co.in>
@ArchanaArige ArchanaArige requested a review from a team as a code owner June 28, 2023 12:35
@ArchanaArige ArchanaArige merged commit f685645 into hyperledger-labs:main Jul 4, 2023
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.

Backend- Improper updation of Txn Count and Chaincodes list
2 participants