Skip to content

rewards computation on chain#9

Open
EclesioMeloJunior wants to merge 12 commits intostatistics-collectorfrom
stats-collector-on-chain
Open

rewards computation on chain#9
EclesioMeloJunior wants to merge 12 commits intostatistics-collectorfrom
stats-collector-on-chain

Conversation

@EclesioMeloJunior
Copy link
Member

Description

Introduces an ApprovalsRewards pallet under runtime/parachains that will provide the on-chain logic to hold and calculate validators approvals rewards.

Integration

This pallet integrates with RewardsStatisticsSubsystem which collects approvals usages (approval votes used to validate/approve a candidate) and no-shows metrics. The subsystem will submit the collected data (ApprovalsTally type) signed with the validator private key to the runtime after the end of a session. This pallet will store the approvals tallies for each active validator in the session.

Checklist

  • Include benchmarks for WeightInfo calculation
  • Tests
  • Documentation

@EclesioMeloJunior EclesioMeloJunior changed the title Stats collector on chain rewards computation on chain Jan 13, 2026
@timwu20
Copy link

timwu20 commented Feb 3, 2026

Where is the code that submits the validator points?

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.

2 participants