Skip to content

Conversation

@jbsv
Copy link
Contributor

@jbsv jbsv commented Jun 3, 2025

No description provided.

@jbsv jbsv self-assigned this Jun 3, 2025
@coveralls
Copy link

coveralls commented Jun 4, 2025

Pull Request Test Coverage Report for Build 15610563053

Details

  • 60 of 76 (78.95%) changed or added relevant lines in 6 files are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.04%) to 94.448%

Changes Missing Coverage Covered Lines Changed/Added Lines %
mino/minows/mod.go 26 30 86.67%
dkg/pedersen/dkg.go 22 27 81.48%
mino/minows/controller.go 5 12 41.67%
Files with Coverage Reduction New Missed Lines %
dkg/pedersen/dkg.go 1 97.01%
mino/minows/session.go 5 76.25%
Totals Coverage Status
Change from base Build 14840032249: -0.04%
Covered Lines: 16894
Relevant Lines: 17887

💛 - Coveralls

require.NoError(t, err)

onet, err = minows.NewMinows(listen, nil, &db)
onet, err = minows.NewMinows(listen, nil, db, port)
Copy link
Member

Choose a reason for hiding this comment

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

Why is the port used as index for the key?

@ineiti
Copy link
Member

ineiti commented Jun 5, 2025

Why? What is the reason for this PR? Is there an issue attached to it?

From what I see, the private key index is only used in the tests. I propose to change the tests to use one db per instance, so you don't need to have a key-index. Because you'll also have other data in the db, so you'll need multiple dbs anyway.

@sonarqubecloud
Copy link

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.

4 participants