68872 sc insight copy paste typo in error parameter names
Description
Brief/Intro
Vulnerability Details
// src/IStakingV1.sol#L64-L69
error StakingPeriodStakingDurationDiffer(
uint8 periodIndex, uint64 expectedMaxStakingDurationApr, uint64 periodStakingDuration
);
error StakingPeriodUnlockDurationDiffer(
uint8 periodIndex, uint64 expectedMaxUnlockDurationApr, uint64 periodUnlockDuration
);Impact Details
References
Recommendation
Proof of Concept
Previous68983 sc insight staketime field in userstake struct is stored but never used on chain wasting storage on every stakeNext68955 sc low unconditional hasrole check in setmigrationpermit authorization entrapment
Was this helpful?