ArdanaLabs / Ardana-dApps

BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Wire Up Price Feeder to Price Updater CLI #70

Open epiro-ps opened 2 years ago

epiro-ps commented 2 years ago

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: