MorpheusAI

MorpheusAI
Foundry
22,500 USDC
View results
Submission Details
Severity: medium
Invalid

`Distribution:l1Sender` cannot be updated leading to unexpected behavior

Description

L1Sender.sol is an upgradeable contract, but the state variable l1Sender in Distribution.sol cannot be updated even if the L1Sender is upgraded to a new implementation. This can lead to unexpected behavior across the entire protocol.

Consider adding a setL1Sender function to Distribution.sol to update the l1Sender state variable.

Recommendation

Add this to Distribution.sol:

+ function setL1Sender(address _l1Sender) external onlyOwner {
+ l1Sender = _l1Sender;
+ }
Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.