Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make dispute points same as backing
  • Loading branch information
ordian committed Aug 15, 2022
commit 3e701574ceb86dc174f5e9216990c731fa5cf11e
2 changes: 1 addition & 1 deletion runtime/parachains/src/reward_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use sp_std::collections::btree_set::BTreeSet;
/// The amount of era points given by backing a candidate that is included.
pub const BACKING_POINTS: u32 = 20;
/// The amount of era points given by dispute voting on a candidate.
pub const DISPUTE_STATEMENT_POINTS: u32 = 15;
pub const DISPUTE_STATEMENT_POINTS: u32 = 20;
Copy link
Member

Choose a reason for hiding this comment

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

Both work and risk are the same as for backing, if we consider an individual validator:

  1. Fetch data + Evaluate + Vote
  2. Risk getting slashed

Therefore era points similar to what we have for backing seems very sensible to me.


/// Rewards validators for participating in parachains with era points in pallet-staking.
pub struct RewardValidatorsWithEraPoints<C>(sp_std::marker::PhantomData<C>);
Expand Down