cartesi / explorer

Cartesi Blockchain Explorer
https://explorer.cartesi.io
Apache License 2.0
9 stars 12 forks source link

chore: Update primary graphQL endpoint setup #105

Closed brunomenezes closed 1 year ago

brunomenezes commented 1 year ago

📄 Context

Currently, we are leaving the endpoint versioned for the primary graphQL endpoint setup. Initially, that was alright, but if we need to replace it quickly, it would demand a new code -> pr -> merge -> deployment; the idea is to swap environment variables and re-deploy quickly if necessary. Also, in the case of repo forks, we are covered.

✔️ Solution

Make it the primary graphQL URL for Goerli and Mainnet as configurable environment variables.

PS: I will also use that issue to refactor some type of definition within the ISG code. It is always saying never

📈 Subtasks

🎯 Definition of Done