The SetNewSecret
event lacks sufficient detail to reflect its declared abilities. While it includes drop
and store
abilities, it does not emit any additional data fields to support or describe these operations, limiting its usefulness for transparency, debugging, and off-chain monitoring.
Lack of details in event emission SetNewSecret
for clarity especially in off-chain monitoring. The event struct has abilities of drop
and store
, but does not have further fields under the event struct that demonstrates these declared abilities.
Likelihood:
This occurs every time a user calls set_secret
. Upon completion of the call, the SetNewSecret
event is emitted without meaningful or descriptive data.
Impact:
Reduces the usefulness of the event for off-chain monitoring, auditing, and debugging. The lack of detail may hinder transparency and make it more difficult to track user actions or system state changes.
Manual code review on the following lines of code:
Propose to include caller's address as the event data field in event struct SetNewSecret
:
This is an Informational finding. It has no impact on the security of the protocol.
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.