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
There are two problems with the existing challenge mechanism:
In case we run the challenge loop in executeDkgValidation one more time, we do not know if the result is still the one most recently submitted to the chain. It could happen that the challenge was mined and another result got submitted later. Before we execute this loop again, we should check the result - probably reading it from the last event.
The log saying invalid DKG result still not challenged; retrying may not always be true. We could have another result submitted in the meantime and challenged. I think we should remove this log from the end of the loop and move it to the beginning of the loop after we check that the result we are challenging is the last one submitted.
The text was updated successfully, but these errors were encountered:
There are two problems with the existing challenge mechanism:
executeDkgValidation
one more time, we do not know if theresult
is still the one most recently submitted to the chain. It could happen that the challenge was mined and another result got submitted later. Before we execute this loop again, we should check the result - probably reading it from the last event.invalid DKG result still not challenged; retrying
may not always be true. We could have another result submitted in the meantime and challenged. I think we should remove this log from the end of the loop and move it to the beginning of the loop after we check that the result we are challenging is the last one submitted.The text was updated successfully, but these errors were encountered: