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
We've run into a problem during some of our test setups that is easy to miss when you're developing solo, or setting up a 1 of 1 or 2 of 2 federation. Right now followers attempt to run DKG as soon as they approve the configuration. This is problematic if in e.g. a 2 of 3 federation, only the leader and follower 1 have joined. Follower 1 has not yet gotten any information about Follower 2 who will join shortly, so their DKG is incomplete. Once follower 2 attempts to run DKG, it'll fail because follower 1 will reject them.
We need to re-architect this so that followers go through the following flow:
Follower pastes in leaders WS API URL
Follower is presented with configuration from leader
Follower hits approve on configuration
Follower is presented with a screen that shows the status of all peers, and says that it's waiting for the leader to continue
Follower sees that the leader's status has gone from SharingConfigGenParams to ReadyForConfigGen
Follower transitions to the RunDKG screen and attempts to run DKG
Followers will not know how many guardians the leader intends for the federation to have, so they will not see the rows that indicate guardians that have not joined yet like the leader does.
The text was updated successfully, but these errors were encountered:
As context, run_dkg just fetches the peers from the database. So at this point, the client calling this must have a full list of peers and might not currently.
If the number of peers was in the config gen params somehow, then this method could just wait until it had enough peers to try DKG.
We've run into a problem during some of our test setups that is easy to miss when you're developing solo, or setting up a 1 of 1 or 2 of 2 federation. Right now followers attempt to run DKG as soon as they approve the configuration. This is problematic if in e.g. a 2 of 3 federation, only the leader and follower 1 have joined. Follower 1 has not yet gotten any information about Follower 2 who will join shortly, so their DKG is incomplete. Once follower 2 attempts to run DKG, it'll fail because follower 1 will reject them.
We need to re-architect this so that followers go through the following flow:
SharingConfigGenParams
toReadyForConfigGen
Followers will not know how many guardians the leader intends for the federation to have, so they will not see the rows that indicate guardians that have not joined yet like the leader does.
The text was updated successfully, but these errors were encountered: