This repository has been archived by the owner on May 26, 2023. It is now read-only.
lemonmon - overview, withdrawals: DepositFeed does not exist #161
Labels
Has Duplicates
A valid issue with 1+ other issues describing the same vulnerability
Reward
A payout will be made for this issue
Specification
An issue related to the specification (low severity)
lemonmon
low
overview, withdrawals: DepositFeed does not exist
Summary
There is no
DepositFeed
contract. The implementation of Deposit contract would beOptimismPortal
.There are some multiple occasions of incorrect information, for example, stating that Optimism Portal inherits from
DepositFeed
contract.Also, using "Deposit Contract" and
DepositFeed
contract interchangeably may confuse the reader.Vulnerability Detail
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/overview.md?plain=1#L52
There is no
DepositFeed
contract. It should beOptimismPortal
contract.https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/overview.md?plain=1#L109
Here as well, the
DepositFeed
contract should beOptimismPortal
contract.https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/overview.md?plain=1#L144
Here as well, the
DepositFeed
contract should beOptimismPortal
contract.https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/withdrawals.md?plain=1#L133-L135
The
OptimismPortal
inheritsInitializable
,ResourceMetering
andSemver
and there is noDepositFeed
contract in the inheritance tree.Impact
Factually wrong specs
Code Snippet
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/overview.md?plain=1#L52
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/overview.md?plain=1#L109
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/overview.md?plain=1#L144
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/withdrawals.md?plain=1#L133-L135
Tool used
Manual Review
Recommendation
Use "Deposit Contract" or
OptimismPortal
depending on the context, instead ofDepositFeed
contract.The text was updated successfully, but these errors were encountered: