The _white_list_collection function overwrites the next pointer of a collection with no_value when changing its active status, which lead to loss of nodes in the list.
starknet/src/bridge.cairo#L491-L502
In the _white_list_collection function, when changing the active status of a collection, the function writes (enabled, no_value) to the white_listed_list mapping for the collection key. This effectively overwrites the next pointer of the collection with no_value, which could remove it from the list and cause any collections that were supposed to be after this collection in the list to be lost.
This issue could lead to incorrect behavior of the contract. Collections that are supposed to be in the list could be lost.
Manual review.
This change ensures that the next pointer of the collection is preserved when changing its active status, preventing the loss of nodes in the list.
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.