Skip to content

[SVC-01M] Inexistent Prevention of Data Corruption #33

@pde-rent

Description

@pde-rent

Recommendation:

We advise the StrategyV5Chainlink::setPriceFeed function to ensure that the feedByAsset[_address] entry is zero, and to utilize a different variable to track whether the _feed has been configured to be validated as such.

Acknowledged - This function is used to update an asset price feed, so we purposely won't revert if a previous feed already exists in the mapping.
eg.: USDC price feed is used for USDCe, up until a USDCe dedicated price feed goes live, and we're better off using this one that factors-in the bridge risk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions