balancer / balancer-core

Balancer on the EVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lack of events in setBLabs is error-prone

montyly opened this issue · comments

Severity: Informational
Difficulty: Low

Description

BFactory.setBLabs changes the blabs address without emitting an event:

https://github.com/balancer-labs/balancer-core/blob/942a51e202cc5bf9158bad77162bc72aa0a8afaf/contracts/BFactory.sol#L51-L54

The lack of events makes more difficult to track potential error or compromise.

Recommendation

Add an event to BFactory.setBLabs