Closed elpiel closed 3 years ago
Closing issue as all tasks are solved.
This is not really required since the get_status
will check all validators and if they don't agree a bad status will be returned:
Check ChannelId when Channel is fetched from Validator: https://github.com/AdExNetwork/adex-validator-stack-rust/blob/dev/adapter/src/ethereum.rs#L162-L173~
Since the Supermarket is very dependant on the Market to retrieve the campaigns, it makes the Supermarket work quite obsolete (apart from safety & performance). This is why we want to make the changes to decouple it from the Market and instead fetch the campaigns from the validators in a configured list .
Changes:
TODOs:
get_status
will check both validators and if they don't agree a bad status will be returned https://github.com/AdExNetwork/adex-validator-stack-rust/blob/dev/adapter/src/ethereum.rs#L162-L173Cache::update
&Cache::fetch_new_campaigns
(after initialization)The flow stays the same: