-
Notifications
You must be signed in to change notification settings - Fork 122
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
feat!: Add support for priority validators #2101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great so far. I left a few comments
.changelog/unreleased/api-breaking/provider/xxxx-priority-validators.md
Outdated
Show resolved
Hide resolved
.changelog/unreleased/features/provider/xxxx-priority-validators.md
Outdated
Show resolved
Hide resolved
…rs.md Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
…dators.md Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com>
…terchain-security into ph/priority-validators
.changelog/unreleased/api-breaking/provider/xxxx-priority-validators.md
Outdated
Show resolved
Hide resolved
.changelog/unreleased/api-breaking/provider/2101-introduce-priority-validators.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Marius Poke <marius.poke@posteo.de>
…terchain-security into ph/priority-validators
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls address comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @p-offtermatt and @kirdatatjana. See my comments below.
@@ -43,6 +43,7 @@ type ConsumerAdditionProposalJSON struct { | |||
Denylist []string `json:"denylist"` | |||
MinStake uint64 `json:"min_stake"` | |||
AllowInactiveVals bool `json:"allow_inactive_vals"` | |||
Prioritylist []string `json:"prioritylist"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not update legacy proposals as we no longer need them. Actually, why do we even have this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Priority list is now removed from legacy_proposals.go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, the priority list is needed in legacy proposal for e2e test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we still legacy props on our e2e tests? Can we get rid of these? Not something we need to do in this PR though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remove them because you'll break governance on gaia. They have to exist so old Txs can be displayed and handled properly. Otherwise you will not be able to fetch an old block or check an old gov proposal because the gov type is missing.
Please don't remove it.
Description
Closes: #2030
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...