Reverting with a custom error is more efficient in terms of gas than a 'require' structure.
KittyConnect has some modifiers which make a check using 'require' instead of custom errors, which requires a higher amount of gas. These modifiers are onlyKittyConnectOwner(), onlyShopPartner() and onlyKittyBridge().
Low impact, gas optimization.
Manual review
Remix IDE
Declare custom errors in KittyConnect and make the modifiers revert with these errors:
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.