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

Validator Award Addition #40

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

goooooproject
Copy link

@goooooproject goooooproject commented Jun 17, 2023

I think this is an improvement because there is no information on validator rewards in one place I have added a validator_revard.md file with a detailed explanation.

Copy link

@traumschule traumschule left a comment

Choose a reason for hiding this comment

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

Thanks! The new page

@goooooproject
Copy link
Author

Changed a few lines of text to capitalize

Copy link

@traumschule traumschule left a comment

Choose a reason for hiding this comment

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

Ok, until JSG reviews this. My suggestions:

  • replace the README.me with validation.md
  • rename validator_reward.md to Reward-calculation.md

@goooooproject
Copy link
Author

goooooproject commented Jul 1, 2023 via email

@goooooproject goooooproject changed the title add new page I think this is an improvement because there is no information on validator rewards in one place I have added a validator_revard.md file with a detailed explanation. Jul 5, 2023
@goooooproject goooooproject changed the title I think this is an improvement because there is no information on validator rewards in one place I have added a validator_revard.md file with a detailed explanation. Validator Award Addition Jul 6, 2023
Copy link

@traumschule traumschule left a comment

Choose a reason for hiding this comment

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

Thanks, it looks better already. However still got some structural remarks.

@@ -0,0 +1,5 @@
The purpose of the supplement. It was found that the guide is missing information about validator awards.
The information was taken from the joystream documents on this topic and from the polkadot handbook.

Choose a reason for hiding this comment

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

The text here is more like a changelog entry and could be turned into a line in the actual CHANGELOG.
Note that folder has to be named validation.
The content of this file should be replaced by validation.md with a mention of the new guide for rewards calculation.
Also in my eyes it's worth mentioning this section for further info at the topic of the reward calculation guide: https://github.com/Joystream/substrate/blob/master/frame/staking/README.md#reward-calculation


The validator can declare an amount, named commission, that does not get shared with the nominators at each reward payout through its ValidatorPrefs. This value gets deducted from the total reward that is paid to the validator and its nominators. The remaining portion is split among the validator and all of the nominators that nominated the validator, proportional to the value staked behind this validator (i.e. dividing the own or others by total in Exposure).

## All entities who receive a reward have the option to choose their reward destination through the Payee storage item (see set_payee), to be one of the following:

Choose a reason for hiding this comment

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

This and the one right above should not appear as heading but norm text. If you want to emphasize it you could use **bold** formatting but it may not be necessary.

Payout for each validator (v1 - v4):
p / v = 8 / 4 = 2 tokens

### Note that this is different than most other Proof-of-Stake systems such as Cosmos. As long as a validator is in the validator set, it will receive the same block reward as every other validator. Validator v1, who had 18 tokens staked, received the same reward (2 tokens) in this era as v4 who had only 7 tokens staked.

Choose a reason for hiding this comment

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

same as above


Each validator in the example has selected a different validator payment (that is, a percentage of the reward set aside directly for the validator before sharing with all bonded stake). The validator's payment percentage (in joys) is listed in brackets ([]) next to each validator. Note that since the validator payment is public knowledge, having a low or non-existent validator payment may attract more stake from nominators, since they know they will receive a larger reward.

**Validator Set Size (v): 4**

Choose a reason for hiding this comment

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

This whole section is very hard to follow in my eyes. Also take an example of this forum entry how a good guide can look like.
Thinking about it maybe the validator forum category may indeed be a better place for this, wdyt @bedeho?


### Advanced Setup

`TODO`

Choose a reason for hiding this comment

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

It's a good opportunity to at least link our setup guide on the community repo (storage and distribution) maintained by leads.

Also this while file should be renamed README.md

@bedeho
Copy link
Member

bedeho commented Jul 25, 2023

Why shouldnt this be part of validation system article which is already there? It does not make sense ot make a new article for every topic.

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.

3 participants