Skip to content

[Bug]: Don't verify already verified shares before submitting a key rotation #1721

@matteojug

Description

@matteojug

Bug - Don't verify already verified shares before submitting a key rotation

1. Description

Currently if we need to issue a rotate key rotation, we also always verify the shares, even if those are already verified. This was to ensure that if some signer failed to get the previous verification (eg, unfortunate restart), it will get a new chance to get them verified.

OTOH, the current behaviour could waste time in verifying something that everybody already verified, or if we pass the 10 blocks verification window since the shares creation we would not be able to verify them again, blocking the key rotation. So it seems we may want to revert this behaviour and skip verification if shares are already verified.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions