You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently following scenarios are fully verified and tested:
same set key rotation
key handover (with new parties)
If a party is removed from the new committee resharing will be stuck at round_1_old_step_1.go for old excluded party because oldOk[] values aren't updated.
Need to check whether the current resharing scheme supports party removal and if it is - find a root cause of the current behavior.
Activity
nulltea commentedon Jun 27, 2024
fix: switch back to upstream version and modify ID generation as showed in https://github.com/ChainSafe/threshlib/blob/upstream-master/ecdsa/resharing/local_party_test.go#L47-L63
Scenarios
To add new party:
oldParties - same
newParties +1 (leave LocalPreParams unset)
To remove party that isn’t required for the threshold (e.g. oldN = 5, T=3, newN=4)
oldParties -1 (remove party)
newParties -1 (remove party)
To remove party that required for the threshold (e.g. oldN = 5, oldT=3, newN=2, newT=2):
oldParties - oldT parties
newParties - newT parties