witnet-rust icon indicating copy to clipboard operation
witnet-rust copied to clipboard

[Bridge] Do not show errors for data request number 0

Open girazoki opened this issue 3 years ago • 4 comments

Currently the bridge node shows an error when retrieving the data request 0. We should discuss how to deal with these kind of errors and decide how to show them

girazoki avatar Dec 11 '20 09:12 girazoki

Potentially we should review all bridge logs and decide what to change, e.g. not showing an error when the tally has not been cofirmed yet

girazoki avatar Dec 11 '20 10:12 girazoki

Alternatively, we could design a simple web-based interface to see the rough status of the bridge node: list of data requests and the state of each of them, as that should be enough for most of our debugging. Adding some kind of JSON-RPC API to get the internal state of the bridge should be very easy, but I would need help to design a client.

tmpolaczyk avatar Dec 11 '20 10:12 tmpolaczyk

Currently the bridge node shows an error when retrieving the data request 0. We should discuss how to deal with these kind of errors and decide how to show them

Simply put a comparison somewhere and skip it if index == 0.

aesedepece avatar Dec 14 '20 16:12 aesedepece

@lrubiorod @tmpolaczyk is this still an issue with the current bridge?

Tommytrg avatar Dec 21 '21 09:12 Tommytrg