Skip to content
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

Move emissions tests to its pallet #601

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

akildemir
Copy link
Contributor

No description provided.

@@ -414,6 +416,10 @@ pub mod pallet {
Pallet::<T>::deposit_event(Event::NewSet { set });

Participants::<T>::set(network, Some(participants.try_into().unwrap()));
if network == NetworkId::Serai {
Copy link
Contributor Author

@akildemir akildemir Sep 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check also needs to include session == Session(0) since we only need this for the first session. For all the next sessions retire_set is called for serai for network on rotate_session.

Edit: This is fixed with #614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant