threefoldtech / rmb-rs

RMB implementation in rust
Apache License 2.0
3 stars 1 forks source link

add support for multiple `substrate` urls #150

Closed muhamadazmy closed 9 months ago

muhamadazmy commented 10 months ago

Right now rmb accepts a single chain (substrate) urls which is used mainly for twin queries to verify signatures. We need to be able to provide multiple urls in case one of them is down. Hence rmb can then try multiple backends in case one of them is failing

MarioBassem commented 10 months ago

updated implementation to accept multiple substrate urls, but still needs to be tested.

muhamadazmy commented 10 months ago

@MarioBassem this can be easily tested because we already have multiple public nodes for mainnet

check here https://github.com/threefoldtech/zos/blob/main/pkg/environment/environment.go#L113

sameh-farouk commented 9 months ago

@MarioBassem I'm moving this to verification as its already merged.