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
This shouldn't have happened. Apparently, all the other nodes in the cluster received their key shares except me. It doesn't seem to be an obvious recovery point, the only ideas that come to head are:
Everyone deletes their validator_keys folder, which is not practical when you deal with users using dappnode and have no direct access to the OS. (This is assuming DKG can be repeated)
A new cluster is created
In my opinion, what should happen is: if validator_keys folder exists, then a new directory gets created with a random prefix, i.e. xyz_validator_keys and the keys are written there. This way the key shares wouldn't have been lost after a successful DKG ceremony
First and foremost, could you try reproducing this issue with our latest release, v0.19.1?
Apparently, all the other nodes in the cluster received their key shares except me.
Since the DKG process is a P2P process, this is unfortunately a thing that can happen: maybe a peer closed its terminal, maybe it crashed, maybe their internet connection failed.
While your terminal showed the validator_keys-related error, other peers should've shown messages stating that the DKG process has failed and must be re-executed: one can always re-run the DKG process with the same definition file by cleaning their .charon directory as explained here.
The keys that other peers have received should be ignored, since the DKG process did not finish in an ordered fashion for all peers.
In my opinion, what should happen is: if validator_keys folder exists, then a new directory gets created with a random prefix, i.e. xyz_validator_keys and the keys are written there. This way the key shares wouldn't have been lost after a successful DKG ceremony
As you pointed out, in the context of e.g. a Dappnode deployment even if the DKG created a different validator_keys directory, one would have to dig into the Dappnode configuration files and figure out a way to point the validator stack to this new directory.
Thank you for pointing out this UX issue with Dappnode and similar tools, food for thought for our development team!
In according with the issue description #2881, this is UX improvement - if the target validator_keys folder exists, the implementation checks if the folder is empty. If the existing directory is not empty, or in case of any IO error, the process fails.
category: feature
ticket: #2881
🐞 Bug Report
Description
This shouldn't have happened. Apparently, all the other nodes in the cluster received their key shares except me. It doesn't seem to be an obvious recovery point, the only ideas that come to head are:
validator_keys
folder, which is not practical when you deal with users using dappnode and have no direct access to the OS. (This is assuming DKG can be repeated)In my opinion, what should happen is: if
validator_keys
folder exists, then a new directory gets created with a random prefix, i.e.xyz_validator_keys
and the keys are written there. This way the key shares wouldn't have been lost after a successful DKG ceremony🔬 Minimal Reproduction
🔥 Error
🌍 Your Environment
Operating System:
What version of Charon are you running? (Which release)
Anything else relevant (validator index / public key)?
The text was updated successfully, but these errors were encountered: