Omniscia Steer Protocol Audit
Beacon Static Analysis Findings
Beacon Static Analysis Findings
BNO-01S: Inexistent Event Emission
Type | Severity | Location |
---|---|---|
Language Specific | Beacon.sol:L18-L20 |
Description:
The linked function adjusts a sensitive contract variable yet does not emit an event for it.
Example:
contracts/Beacon.sol
18constructor(address implementationAddress) {19 _setImplementationAddress(implementationAddress);20}
Recommendation:
We advise an event
to be declared and correspondingly emitted to ensure off-chain processes can properly react to this system adjustment.
Alleviation (200f275c40cbd4798f4a416c044ea726755d4741):
The Upgraded
event's emission has been relocated from upgradeImplementationTo
to _setImplementationAddress
ensuring it is emitted in all cases and alleviating this exhibit.