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

chore(gov/staker): Change Non-getter function names #504

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Conversation

notJoon
Copy link
Member

@notJoon notJoon commented Feb 5, 2025

Description

Changed the names of functions that are called getters but actually modify internal state, making them not true getters.

  • getCurrentProtocolFeeBalance -> updateAndGetProtocolFeeBalance
  • getCurrentBalance -> collectAndGetGNSBalance

@notJoon notJoon requested review from onlyhyde and r3v4s February 5, 2025 09:14
@notJoon notJoon mentioned this pull request Feb 5, 2025
Copy link

sonarqubecloud bot commented Feb 5, 2025

@onlyhyde onlyhyde merged commit 8034593 into main Feb 6, 2025
19 checks passed
@onlyhyde onlyhyde deleted the update-name branch February 6, 2025 03:47
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.

2 participants