Since SwanManager is not abstract contract and it is upgradeable. So it can be deployed on it's own. It is inheriting OwnableUpgradeable and using it's onlyOwner modifier. And this is upgradeable contract so __Ownable_init() should be called in initialize function to set owner.
Otherwise onlyOwner using function will never work. And owner can not be changed as initial owner is 0.
https://github.com/Cyfrin/2024-10-swan-dria/blob/main/contracts/swan/SwanManager.sol
onlyOwner using functions will never work.
Add this function in SwanManager.sol.
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.