Skip to content

Mitigation Confirmed for M-03 #14

@code423n4

Description

@code423n4

The issue raised in M-03 was that the oracle feed wasn't validated to confirm that the data was fresh. To mitigate this, _stalenessThreshold was added. If block.timestamp - updatedAt > _stalenessThreshold (i.e. the data wasn't update recently enough) then getRate will revert disallowing use until fresher data is published.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions