Function: updateRoundData(uint80 roundId, RoundData _roundData)
This function changes the pricing data struct (RoundData) for a given round number (roundId).
Inputs
roundIdControl: Full.
Constraints: Value must be less than the size of the
oracleDataarray or the function call will revert with an index-out-of-bounds error.Impact: The round ID to update in the
oracleDataarray.
_roundDataControl: Full.
Constraints: None.
Impact: The new
RoundDatastruct to store.
Branches and code coverage (including function calls)
Intended branches
Updates the pricing round data stored at the
roundIdindex of theoracleDataarray.
Negative behaviour
Function is called by non-service admin.
Function is called with a
roundIdthat is not a valid index in theoracleDataarray.