Closed cbrit closed 1 month ago
[!CAUTION]
Review failed
The pull request is closed.
The changes introduce new constants related to the TEST_RYUSD_ORACLE
, including its definition and an array of allowed price oracles. A specific cellar identifier, CELLAR_TEST_RYUSD
, is also defined. The validate_oracle
function is updated to include a check for validating oracles associated with the CELLAR_TEST_RYUSD
, ensuring that both the normalized cellar ID and the provided oracle details are validated against the allowed list.
Files | Change Summary |
---|---|
src/cellars.rs | Added constants: TEST_RYUSD_ORACLE , ALLOWED_TEST_RYUSD_PRICE_ORACLES , and CELLAR_TEST_RYUSD . Updated validate_oracle function to include validation for CELLAR_TEST_RYUSD . |
TEST_RYUSD_ORACLE
, ALLOWED_TEST_RYUSD_PRICE_ORACLES
, and CELLAR_TEST_RYUSD
constants, as well as the modifications to the validate_oracle
function.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes