add coordinator side rotation test

This commit is contained in:
akildemir
2024-02-26 15:16:44 +03:00
parent 5f2e15604c
commit 360cd023a0
10 changed files with 445 additions and 203 deletions

View File

@@ -652,7 +652,7 @@ pub mod pallet {
// If not Serai, check the prior session had its keys cleared, which happens once its
// retired
return (network == NetworkId::Serai) ||
(!Keys::<T>::contains_key(ValidatorSet {
(Keys::<T>::contains_key(ValidatorSet {
network,
session: Session(current_session.0 - 1),
}));