MorpheusAI

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

[M-1] - Wrong function call in `L2TokenReciever::L2TokenReceiver__init`

Summary

You first want to preform the exact checks and approve the users to be able to spend 0 tokens, rather than type(uint256).max

Vulnerability Details

The checks that are performed in editParams() function, are missed in the _editParams() function

Impact

Unperformed checks may lead to unexpected outcome

Tools Used

Manual Review

Recommendations

The editParams() calls the _editParams() function anyways, so in the initializer function you need to call editParams() instead of _editParams()

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.