Beginner FriendlyFoundryBridge
100 EXP
View results
Submission Details
Severity: low
Valid

Missing Withdraw event in 'L1BossBridge::sendToL1' function

Summary

Events for critical state changes (e.g. withdrawing tokens from the protocol) should be emitted for tracking off-chain.

Tools Used

--Foundry

Recommendations

Add a Withdraw event and emit it at the end of the 'L1BossBridge::sendToL1' function that takes parameters for the amount withdrawn and address it was sent to.

Updates

Lead Judging Commences

0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

missing events emission

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.