https://github.com/Cyfrin/2024-01-Morpheus/blob/main/contracts/L1Sender.sol#L9
L1Sender
is an upgradable contract and inherits ERC165
instead of ERC165Upgradeable
which can results into potential clashes in upgradabilty and storage slots
Not using ERC165Upgradeable
could give potential crash risk during upgrading the contract - Medium
Also in Distributor.sol
it uses SafeERC20 for IERC20
instead of SafeERC20Upgradeable
. It doesn't any impact but OpenZeppelin recommned to use SafeERC20Upgradeable
- Low
Manual
Make use of OpenZeppelins upgradeable version i.e ERC165Upgradeable
and SafeERC20Upgradeable
instead of ERC165
and SafeERC20
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.