addShop
method doesn't check if the shop already exists
In the addShop
method, we push a new shop partner in the s_kittyShops
but we don't check if the shop already exists and it is already in the array.
Can lead to duplicates in shop partners array and excessive increase in gas costs and storage.
Manual review
Consider adding a require that checks if the shop partner already exists in the array like this :
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.