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

staking: deprecate obsolete base reward rate field #4651

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

erwanor
Copy link
Member

@erwanor erwanor commented Jun 21, 2024

Describe your changes

This PR deprecate the core.component.staking.v1.StakeParameters.base_reward_rate field. This field is vestigial and unused. The actual chain base reward rate is computed downstream of the distributions component budget issuance for the epoch.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    Technically could be client breaking but I don't think it is used anywhere

@erwanor erwanor added A-staking Area: Design and implementation of staking and delegation protobuf-changes Makes changes to the protobuf definitions. labels Jun 21, 2024
@erwanor erwanor requested a review from conorsch June 21, 2024 15:25
@erwanor erwanor self-assigned this Jun 21, 2024
Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

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

nice!

@erwanor erwanor merged commit 8b36dc8 into main Jun 21, 2024
13 checks passed
@erwanor erwanor deleted the erwan/deprecate_base_reward_rate branch June 21, 2024 17:43
avahowell pushed a commit that referenced this pull request Jun 24, 2024
## Describe your changes

This PR deprecate the
`core.component.staking.v1.StakeParameters.base_reward_rate` field. This
field is vestigial and unused. The actual chain base reward rate is
computed downstream of the distributions component budget issuance for
the epoch.

## Checklist before requesting a review

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

> Technically could be client breaking but I don't think it is used
anywhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-staking Area: Design and implementation of staking and delegation protobuf-changes Makes changes to the protobuf definitions.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants