manifoldfinance / mevETH2

mevETH LST Protocol - Repo has migrated see link
https://github.com/MEV-Protocol/meveth
27 stars 2 forks source link

Audit: MANETH-7 #138

Closed sandybradley closed 1 year ago

sandybradley commented 1 year ago

REDUNDANT ENUM IN AUTH LIBRARY

SEVERITY: Informational

PATH: Auth.sol

https://github.com/manifoldfinance/mevETH2/blob/63edde66d91c263b919fe9c21e128a382219880e/src/libraries/Auth.sol#L8-L11

REMEDIATION: remove the enum Roles

DESCRIPTION

In the Auth library on lines 8-11 the enum Roles is defined, but it is not used in any other part of the codebase, and it is therefore redundant.