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

Rename contracts to simply use the name Staker #94

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

apbendi
Copy link
Collaborator

@apbendi apbendi commented Jan 10, 2025

Rename contracts from "GovernanceStaker" to simply "Staker". Note that the change is intended to impact only the contract names and associated natspec documentation. Variable names—especially in test cases—are not intended to be updated. The reason for the change is to emphasize the fact that this is a generalizable staking system that also supports governance as a first class citizen, however it is not strictly limited to governance staking.

@apbendi apbendi requested a review from garyghayrat January 13, 2025 14:24
README.md Show resolved Hide resolved
apbendi and others added 2 commits January 15, 2025 09:53
Generalize "governance staker" to "Staker" in the README
Copy link

Coverage after merging rename-to-staker into main will be

98.09%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   BinaryEligibilityOracleEarningPowerCalculator.sol100%100%100%100%
   DelegationSurrogate.sol100%100%100%100%
   DelegationSurrogateVotes.sol100%100%100%100%
   Staker.sol98.47%100%97.22%98.58%259–261
src/extensions
   StakerDelegateSurrogateVotes.sol87.50%50%100%90.91%25–26
   StakerOnBehalf.sol100%100%100%100%
   StakerPermitAndStake.sol76.47%0%100%76.92%19–20, 48, 76

@apbendi apbendi merged commit e929995 into main Jan 15, 2025
4 checks passed
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