As per the developer comments on claimPlenty
function [here](https://github.com/Cyfrin/2024-05-beanstalk-the-finale/blob/main/protocol/contracts/beanstalk/silo/SiloFacet/ClaimFacet.sol#L91-L94) when plenty == 0 the claimPlenty event should be emitted with amount i.e, plenty = 0. However, the event emission code is placed within an [if] (https://github.com/Cyfrin/2024-05-beanstalk-the-finale/blob/main/protocol/contracts/beanstalk/silo/SiloFacet/ClaimFacet.sol#L97-L106) block which only executes when plenty > 0 this means that the event won't be emiited when plenty is 0
see summary
The expected event when plenty == 0 won't be emitted which is an unexpected behaviour
Manual Review
Emit the event outside the "if" block
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.