Replies: 2 comments
-
From Hydra: Fast Isomorphic State Channels section 3.1:
|
Beta Was this translation helpful? Give feedback.
-
Another misconfiguration problem is if nodes don't have the same protocol parameters. The, currently, nothing will prevent them from opening a head but, of course, transaction in L2 will fail and the head will be stuck. It could be hard to figure out that this is the root cause of the problem. |
Beta Was this translation helpful? Give feedback.
-
Problem
Before initializing a head, each hydra node operator must configure their instance with all the other futur peers' verification keys (cardano and hydra verification keys). More often that not, someone make a mistake during the operation making the opening of the head impossible and loosing fuel in the process.
Impact
When the problem happens:
When the problem does not happen and the head is successfully open it has an impact anyway:
Standard
We should define what should be the standard cost and delay for operators to open a head. That way, we could benchmark our current process. Here I will propose the following standard based on previous observation and... intuition:
We do not meet this standard now. When involving 4 different people/operators we often took more than an hour to successfully open a head (especially if we include the exchange of the keys in the process, and I think we should) and lost some fuel.
We did not have any deception issues compared to out of bounds exchange of keys... but we did not have that much tooling in place.
probable Cause
Step 1 is manual and error prone:
When everybody has shared their key with everybody, enter step 2 which is also manual and even more error prone:
Probable cause 1: cumbersome and manual process
At that point in time we have a matrix a 4x3 entries (3 peers verification keys configured on each of the 4 nodes).
Probable cause 2: Hydra does not offer any help to validate this configuration
Shall any of these 12 entries be wrong, opening the head will fail, fuel will be lost and time spent to fix the situation.
expected Result
We will know if we have found a valid solution to this problem if we meet the standard defined above.
Beta Was this translation helpful? Give feedback.
All reactions