-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DKG trigger and chain reorgs #3456
Comments
An early idea on how we could approach it... Things that may happen:
Here is how can we approach it:
In this approach, it may happen that the latest If we want to be more restrictive, we could:
|
pdyraga
added a commit
that referenced
this issue
Jan 12, 2023
Closes: #3456 So far, the tECDSA DKG was triggered using a simple event listener acting on DKGStarted events. However, small chain reorgs may cause different startBlock to be received by DKG participants. That can lead to invalid signatures over the produced DKG result as the startBlock is one of the signature's components. Here we improve that by adding a confirmation mechanism that delays the start of the off-chain protocol until the event and DKG on-chain state is confirmed. This way clients are sure to use a finalized event that will no longer be the subject of chain reorgs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the tECDSA DKG is triggered using a simple event listener acting on
DKGStarted
events. However, small chain reorgs may cause differentstartBlock
to be received by DKG participants. That can lead to invalid signatures over the produced DKG result as thestartBlock
is one of the signature's components. We need to improve that. See discussionThe text was updated successfully, but these errors were encountered: