tangle-network / dkg-substrate

Multy-party threshold ECDSA (GG20) Substrate node
https://tangle.webb.tools/
GNU General Public License v3.0
60 stars 15 forks source link

[BUG] DKG Rotates without emitting `PublicKeySignatureChanged` event #685

Closed shekohex closed 1 year ago

shekohex commented 1 year ago

Using latest tangle main branch https://github.com/webb-tools/tangle/commit/426913a37bf85fc71a5a2af8c7c73016852c3c6a While running with short sessions (3 min) the DKG Rotates without emitting the following event:

https://github.com/webb-tools/dkg-substrate/blob/8da00187a9eec81808bf7310b4c096925c3b8ee2/pallets/dkg-metadata/src/lib.rs#L1848-L1856

This a bug, since we (the relayer) observe these kind of events and reacts to it some way, right now, for example we can't transfer the ownership of signature bridge to the new governor without knowing these kind of information that gets emitted with that said event.