Can we override discovered orderer with defined orderer in connection profile?

101 views Asked by At

I am trying to connect Hyperledger Explorer with my fabric network hosted on Oracle Blockchain Service. To my surprise, service discovery is finding an orderer that does not belong to my network and gets timed out while retrieving the data. After looking into the codebase, I found that any orderer defined in the connection.yaml is not looked up. Can we override the discovered orderer with the orderer defined in my connection.yaml?

1

There are 1 answers

2
yacovm On

Discovery returns the orderers from the channel configuration which is specified in the configtx.yaml.

Issue a config update transaction that changes the endpoints and it'll fix it.