The function set_l1_l2_collection_mapping
in the contract does not emit an event after updating the L1-L2 collection mappings.
The function below updates the mappings between L1 and L2 collections without emitting any event to signal this change.
An event should be emitted after the mappings are updated to provide an on-chain record of this state change.
External systems cannot easily track changes to L1-L2 collection mappings. And this makes it harder to track history of mapping changes.
Manual review
Implement an event emission at the end of the function.
Please, do not suppose impacts, think about the real impact of the bug and check the CodeHawks documentation to confirm: https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity A PoC always helps to understand the real impact possible.
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.