Skip to content

Conversation

@dharjeezy
Copy link
Contributor

Introduces an event after a collator is rewarded, this is most specially needed for indexing

@Wizdave97
Copy link
Member

@dharjeezy let's fix an issue with collatorSelection in this PR

We need a custom implementation for this https://github.com/paritytech/polkadot-sdk/blob/2da3987489a7c4bfcaddd48e99498e0759d30356/cumulus/pallets/collator-selection/src/lib.rs#L186

We should check that the stash account is mapped to a controller account and that the controller account has registered some session keys

@Wizdave97
Copy link
Member

The default implementation expects the stash account to register the session keys

@Wizdave97
Copy link
Member

Let's update the docs when we add the fix

@dharjeezy dharjeezy requested a review from Wizdave97 January 27, 2026 07:57
@Wizdave97 Wizdave97 merged commit e478726 into main Jan 29, 2026
17 of 18 checks passed
@Wizdave97 Wizdave97 deleted the dami/emit-collator-rewarded-event branch January 29, 2026 12:05
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.

4 participants