Hi!
As a user of orml_oracle, I miss the possibility of receiving callbacks when a combined value is updated. Currently, orml_oracle only calls OnNewData::on_new_data() with no combined values. It would be great to have an OnNewData::on_updated_combined_data() or similar to that trait to be called when the value is combined.
If you agree, I can open a PR. Seems simple, and it does not require any migration.
Thanks for your work!
Hi!
As a user of
orml_oracle, I miss the possibility of receiving callbacks when a combined value is updated. Currently,orml_oracleonly callsOnNewData::on_new_data()with no combined values. It would be great to have anOnNewData::on_updated_combined_data()or similar to that trait to be called when the value is combined.If you agree, I can open a PR. Seems simple, and it does not require any migration.
Thanks for your work!