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

Add priority validators list to the power shaping params #2030

Open
p-offtermatt opened this issue Jul 14, 2024 · 0 comments · May be fixed by #2101
Open

Add priority validators list to the power shaping params #2030

p-offtermatt opened this issue Jul 14, 2024 · 0 comments · May be fixed by #2101
Assignees
Labels
scope: provider Issues related to the provider chain type: feature-request New feature or request improvement

Comments

@p-offtermatt
Copy link
Contributor

p-offtermatt commented Jul 14, 2024

Problem

It is currently possible to either allowlist or denylist validators.
However, it is not possible to prefer certain validators (while still allowing other validators to opt in).

Feature description

We have a "prioritization" feature implemented.
The feature consists of a new list of validator addresses, just like the already existing whitelist and blacklist.
When choosing which validators validate a chain, we prefer to use those validators, as long as they have opted in.
So the rough logic for the validator set construction in power mixing is:

  • Get all validators
  • Filter out opted-out validators
  • Filter out validators on the blacklist/not on the whitelist
  • Among remaining validators, take the priority validators
  • If these are not enough to fill the validator set size yet, fill up with remaining other validators
@p-offtermatt p-offtermatt added the scope: provider Issues related to the provider chain label Jul 14, 2024
@p-offtermatt p-offtermatt linked a pull request Jul 26, 2024 that will close this issue
8 tasks
@mpoke mpoke added the type: feature-request New feature or request improvement label Sep 17, 2024
@mpoke mpoke changed the title PSS: Add priority validators Add priority validators list to the power shaping params Sep 17, 2024
@mpoke mpoke assigned p-offtermatt and unassigned p-offtermatt Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: provider Issues related to the provider chain type: feature-request New feature or request improvement
Projects
Status: 📥 F2: Todo
Development

Successfully merging a pull request may close this issue.

3 participants