Omniscia Rari Capital Audit
ChainlinkPriceOracle Code Style Findings
ChainlinkPriceOracle Code Style Findings
CPO-01C: Variable Mutability Specifier
Type | Severity | Location |
---|---|---|
Gas Optimization | Informational | ChainlinkPriceOracle.sol:L51 |
Description:
The linked variable is assigned to only once during the constructor
of the contract.
Recommendation:
We advise it to be set to immutable
so as to benefit greatly from the gas optimization it introduces.
Alleviation:
The development team has acknowledged this exhibit but decided to not apply its remediation in the current version of the codebase citing time constraints.