Omniscia Swisscoast Audit

TroveManager Code Style Findings

TroveManager Code Style Findings

TMR-01C: Redundant Duplicate Member

Description:

The TroveManager contract contains two members containing the same data point.

Example:

packages/contracts/contracts/TroveManager.sol
271gasPool = IGasPool(_gasPoolAddress);
272gasPoolAddress = _gasPoolAddress;

Recommendation:

We advise only the gasPool member to remain, optimizing the code's gas cost.

Alleviation (04618e407bddce5b22e9cadd787fd3334bd3afe6):

The gasPoolAddress member has been safely omitted per our recommendation, optimizing the code's gas cost.