The owner
variable is defined but not utilized effectively in the GivingThanks
contract.
The contract lacks standardized access control functionality for owner-specific functions.
https://github.com/Cyfrin/2024-11-giving-thanks/blob/main/src/GivingThanks.sol#L10
Lack of proper ownership control can make managing the contract’s administrative functions cumbersome and error-prone.
Manual review
Inherit from OpenZeppelin’s Ownable contract to simplify access control:
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.