drand/drand

Add test for resharing with threshold nodes to a smaller group

Aperta

#1075 aperta il 14 ott 2022

 (0 commenti) (0 reazioni) (1 assegnatario)Go (130 fork)auto 404
devguildgood first issuehacktoberfesttesting

Metriche repository

Star
 (826 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

    I think what this shows is that we are missing a test that would perform a resharing with exactly threshold nodes to produce a network that's running with less nodes and a smaller threshold.

Originally posted by @AnomalRoil in https://github.com/drand/drand/pull/1074#discussion_r994822676

Currently it seems we don't have a test that does the following:

  • create a network with n nodes and a threshold t == n
  • perform resharing towards a smaller network with n' < t nodes

Otherwise the above would have been caught already.

Guida contributor