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
Suggested Solution
Before Emitting the final event here:
+ ChainNonces::<T>::insert(&src_id, nonce);
Motivation and use-cases
Right now the Relayer needs this to check if we shall send this proposal to the DKG System or not by checking the proposal nonce on the DKG side and the new proposal we have in hand right now and compare the nonces.
The text was updated successfully, but these errors were encountered:
Bug Description
ChainNonces
which is a Map betweenChainId
toProposalNonces
is used in two cases:chain_id
is whitelisted or not, by checking thatchain_id
exists in this map.Right now, the first one is good, but the second one is not implemented anywhere when the proposal gets executed here:
dkg-substrate/pallets/dkg-proposals/src/lib.rs
Lines 642 to 655 in 16ea8dc
Suggested Solution
Before Emitting the final event here:
+ ChainNonces::<T>::insert(&src_id, nonce);
Motivation and use-cases
Right now the Relayer needs this to check if we shall send this proposal to the DKG System or not by checking the proposal nonce on the DKG side and the new proposal we have in hand right now and compare the nonces.
The text was updated successfully, but these errors were encountered: