In order to have real price data on chain, we want to call the Price Feeder executable and pass the price data to on-chain. To do this, we'll need to be able to call the executable from the runtime of the Price Updater CLI and pass the real data into the dusd-api calls for Oracle Init and Update.
Acceptance Criteria
As a Price Oracle Admin, I want to see price feeder data on-chain.
Testing
Unless we can think of a pure method of testing, we'll have to do manual impure validation of the behavior, employing the following procedure:
Requires completion of https://github.com/ArdanaLabs/Ardana-dApps/issues/71.
Description
In order to have real price data on chain, we want to call the Price Feeder executable and pass the price data to on-chain. To do this, we'll need to be able to call the executable from the runtime of the Price Updater CLI and pass the real data into the
dusd-api
calls for Oracle Init and Update.Acceptance Criteria
As a Price Oracle Admin, I want to see price feeder data on-chain.
Testing
Unless we can think of a pure method of testing, we'll have to do manual impure validation of the behavior, employing the following procedure:
price-updater ...
to initialize an oracleprice-update read ...
to get price