First Flight #22: Steaking

Beginner FriendlyFoundryDeFi
100 EXP
Submission Details
Severity: high
Valid

The stake amount stored in `Steaking:usersToStakes` is overwritten by the amount coming from the most recent `Steaking:stake` function call, rather than accumulating, when multiple staking operations are performed on the same beneficiary address

Updates

Lead Judging Commences

inallhonesty Lead Judge 3 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Steaking::stake overwrites the msg.value into storage

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources