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
{{ message }}
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.
BeefyWorker needs to be initialized with the current valid validator_set_id. Right now this id is hard coded to the genesis validator set id '0' (zero).
The text was updated successfully, but these errors were encountered:
I think this should be an Option and we should skip voting if it's not set. Otherwise I'm afraid that BEEFY validators will start signing bullshit commitments. Later on that should obviously be penalized, but currently I think it's safer to just wait for the beginning of the session. Not sure how this will work initially though (i.e. if we ever produce the first commitment) - perhaps special casing empty chain will be required (setting Some(0) instead of None).
Currently we always use Some(0) as the validator_set_id, otherwise the test deployment would never vote on anything. Reason is that the test deployment always starts with genesis, so we need to implement the empty chain test at the very least for the test deployments.
BeefyWorker
needs to be initialized with the current validvalidator_set_id
. Right now this id is hard coded to the genesis validator set id '0' (zero).The text was updated successfully, but these errors were encountered: