Concordium / concordium-governance-committee-voting

This repository holds the components required to facilitate elections for the Concordium governance committee
Apache License 2.0
3 stars 8 forks source link

Set the default node to be the same for both http and indexer #34

Closed mh-concordium closed 6 months ago

mh-concordium commented 9 months ago

Description Set the default node to be the same for both http and indexer.

Steps to Reproduce Look at the default configuration for http and indexer.

Expected Result Both components should point to the same node.

Actual Result Http points to https://grpc.testnet.concordium.com:20000/ Indexer points to http://localhost:20001

soerenbf commented 9 months ago

The difference here lies in the fact that the node for the http binary is used in the configuration for the voting dApp, meaning it needs to have grpc-web enabled (which is not the default). The node used by the indexer benefits from being local to the location of the indexer as it traverses all the transactions on chain.