Skip to content

Conversation

@EclesioMeloJunior
Copy link

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

- Inject Authority Discovery to Availability Distribution
- When responding to a chunk request get the peer id and retrive its authority ids
- In the Collector store the session info which enable to get the validator index from authority ids
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