Skip to content

Conversation

@alexkeating
Copy link
Collaborator

No description provided.

vm.stopPrank();
}

/// @notice A test helper that wraps calling the `stake` function on the underlying Staker
Copy link
Collaborator

Choose a reason for hiding this comment

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

(Arbitrary Comment related to Line 36)

Here's a nit: with the refactor, _setDelegateeScoreAboveThreshold is only used in StakedBinaryEligibilityOracleEarningPowerCalculatorTestBase. It is probably cleaner to move the function there, and potentially just merge the logic into _stakeBelowThreshold if it not going to be used anywhere else.

@alexkeating alexkeating force-pushed the feature/remove-epc-assumption branch from b5099e3 to c113cc7 Compare May 29, 2025 17:09
@github-actions
Copy link

Coverage after merging feature/remove-epc-assumption into feature/modular-testing-binary-eligibility-oracle-earning-power-calculator will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   DelegationSurrogate.sol100%100%100%100%
   DelegationSurrogateVotes.sol100%100%100%100%
   Staker.sol100%100%100%100%
src/calculators
   BinaryEligibilityOracleEarningPowerCalculator.sol100%100%100%100%
   IdentityEarningPowerCalculator.sol100%100%100%100%
src/extensions
   StakerCapDeposits.sol100%100%100%100%
   StakerDelegateSurrogateVotes.sol100%100%100%100%
   StakerOnBehalf.sol100%100%100%100%
   StakerPermitAndStake.sol100%100%100%100%
src/notifiers
   MintRewardNotifier.sol100%100%100%100%
   RewardTokenNotifierBase.sol100%100%100%100%
   TransferFromRewardNotifier.sol100%100%100%100%
   TransferRewardNotifier.sol100%100%100%100%

@alexkeating alexkeating merged commit 16a8dd8 into feature/modular-testing-binary-eligibility-oracle-earning-power-calculator May 29, 2025
6 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