w3f / substrate

Fork of parity Substrate to help W3F researchers to contribute to the code.
Apache License 2.0
0 stars 0 forks source link

add a function to the BEEFY keystore verify if we own any of the validator_set public keys #8

Closed drskalman closed 1 year ago

drskalman commented 1 year ago

This needs to be done in the key store, because the meaning of owning the public key changes depending on the type of the public key. If the public key is ECDSA and then it is smiple. But if it is a pair of ECDSA and BLS keys, then it means if we have the ECDSA key in our ECDSA store and the BLS in our BLS store. The BEEFY worker is unaware of this difference.

drskalman commented 1 year ago

We have changed how to implement the keys which now is one pair of two keys attached to each other. So this is does not pose a problem in the new design.

drskalman commented 9 months ago

We abandoned this approach of having multiple keys in favor of using PairedCrypto because OneSession only accept one key.