Skip to content

[dependency] idemix update#127

Merged
liran-funaro merged 4 commits into
hyperledger:mainfrom
adecaro:idemix-update
Jun 30, 2026
Merged

[dependency] idemix update#127
liran-funaro merged 4 commits into
hyperledger:mainfrom
adecaro:idemix-update

Conversation

@adecaro

@adecaro adecaro commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Type of change

  • Dependency update

Description

This PR brings in the latest version of idemix.
No breaking changes are expected.

Additional details (Optional)

Related issues

Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro adecaro requested review from cendhu and liran-funaro and removed request for liran-funaro June 29, 2026 09:10
@adecaro adecaro marked this pull request as draft June 29, 2026 09:10
@adecaro adecaro requested a review from liran-funaro June 29, 2026 09:10
@adecaro adecaro added the dependencies Pull requests that update a dependency file label Jun 29, 2026
@coveralls

coveralls commented Jun 29, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 82.586% (-0.09%) from 82.679% — adecaro:idemix-update into hyperledger:main

Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Comment thread msp/configbuilder.go Outdated
}

func getMspConfig(dir string, ID string, sigid *msp.SigningIdentityInfo) (*msp.MSPConfig, error) {
//nolint:gocognit

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: please specify the issue and why it can be ignored

Suggested change
//nolint:gocognit
//nolint:gocognit // <issue> can be ignored because <reason>

Comment thread msp/factory.go Outdated
}
idemixMSP, ok := msp.(*idemixmsp.Idemixmsp)
if !ok {
panic("Invalid idemix msp")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

major: We can return an error here instead of panicking.

Comment thread msp/factory.go Outdated
}
idemixMSP, ok := msp.(*idemixmsp.Idemixmsp)
if !ok {
panic("Invalid idemix msp")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

major: We can return an error here instead of panicking.

Comment thread msp/idemix.go Outdated
}
idemixID, ok := id.(*idemixmsp.Idemixidentity)
if !ok {
panic("identity is not idemix")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

major: We can return an error here instead of panicking.

Comment thread msp/idemix.go Outdated
}
idemixID, ok := id.(*idemixmsp.Idemixidentity)
if !ok {
panic("identity is not idemix")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

major: We can return an error here instead of panicking.

Comment thread msp/idemix.go Outdated
}
idemixID, ok := id.(*idemixmsp.IdemixSigningIdentity)
if !ok {
panic("identity is not idemix")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

major: We can return an error here instead of panicking.

@liran-funaro liran-funaro changed the title idemix update [dependency] idemix update Jun 30, 2026
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro

adecaro commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

@liran-funaro , these issues are not caused by my PR. I think the linter was not run before on that code and it never signaled the issue.

add explanation for nolint directive

Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro

adecaro commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

Hi @liran-funaro , I believe I have addressed all your comments. Please, have another check 🙏

@liran-funaro liran-funaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@liran-funaro liran-funaro marked this pull request as ready for review June 30, 2026 13:11
@liran-funaro liran-funaro merged commit 59a100d into hyperledger:main Jun 30, 2026
6 checks passed
@adecaro adecaro deleted the idemix-update branch June 30, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants