Omniscia Euler Finance Audit
BeaconProxy Static Analysis Findings
BeaconProxy Static Analysis Findings
BPY-01S: Inexistent Visibility Specifiers
| Type | Severity | Location |
|---|---|---|
| Code Style | ![]() | BeaconProxy.sol:L7, L9, L11, L13-L18 |
Description:
The linked variables have no visibility specifier explicitly set.
Example:
src/GenericFactory/BeaconProxy.sol
7bytes32 constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;Recommendation:
We advise them to be set so to avoid potential compilation discrepancies in the future as the current behaviour is for the compiler to assign one automatically which may deviate between pragma versions.
Alleviation (fb2dd77a6ff9b7f710edb48e7eb5437e0db4fc1a):
The internal visibility specifier has been introduced to all referenced variables, preventing potential compilation discrepancies and addressing this exhibit.
