-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to convert BEEFY PublicKey to ETH address (westend & kusama) #1305
Comments
Thanks for the report @alindima ! Initial BEEFY keys (ecdsa keys) are some dummy keys that need to be replaced by validators with their actual real keys by using rotate_keys(). So, on testnets, each validator's initial dummy BEEFY key will throw an error that it can't be converted to ETH address. We might be able to "fix" this by modifying initial dummy BEEFY keys to be some custom sequences of bytes that can be successfully converted to ETH addresses. But there's a question on whether we should or not.. now this error logs are arguably useful to motivate validators to rotate keys and actually register valid/unique BEEFY key. It indirectly reports that validators are using invalid BEEFY keys. @andresilva wdyt? should we "fix" it or not? |
How hard is this? If it is fairly trivial by setting some bits or something, we should do it. |
We are already doing |
…on (#1520) # Description Each time the validator set changes, BEEFY validator keys are converted to ETH addresses and merkelised into a `keyset_commitment` to be used by light clients. This commit downgrades `error` to `debug` when individual conversions from BEEFY keys to ETH addresses fail, and adds cumulative check that reports total number of failed conversions, if any, on `error` log-level. Fixes #1305 Signed-off-by: Adrian Catangiu <[email protected]>
…on (#1520) # Description Each time the validator set changes, BEEFY validator keys are converted to ETH addresses and merkelised into a `keyset_commitment` to be used by light clients. This commit downgrades `error` to `debug` when individual conversions from BEEFY keys to ETH addresses fail, and adds cumulative check that reports total number of failed conversions, if any, on `error` log-level. Fixes paritytech/polkadot-sdk#1305 Signed-off-by: Adrian Catangiu <[email protected]>
…on (paritytech#1520) # Description Each time the validator set changes, BEEFY validator keys are converted to ETH addresses and merkelised into a `keyset_commitment` to be used by light clients. This commit downgrades `error` to `debug` when individual conversions from BEEFY keys to ETH addresses fail, and adds cumulative check that reports total number of failed conversions, if any, on `error` log-level. Fixes paritytech#1305 Signed-off-by: Adrian Catangiu <[email protected]>
Trying to upgrade the westend runtime in Versi, we start seeing a lot of errors like this one:
Failed to convert BEEFY PublicKey to ETH address
.As it scales with the number of validators and session frequency, this can pollute the logs of testnets.
CC: @acatangiu
The text was updated successfully, but these errors were encountered: