From 84f837daa0f9d46271366d62df233ca311ddaeb2 Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 28 Jun 2023 10:38:42 -0300 Subject: [PATCH 1/2] (fix) Changed the lcd_endpoint configuration for the bare metal nodes (sentry nodes). We are going to use each node LCD instead of lcd.injective.network --- pyinjective/constant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyinjective/constant.py b/pyinjective/constant.py index 0cb16a77..a179a6aa 100644 --- a/pyinjective/constant.py +++ b/pyinjective/constant.py @@ -124,7 +124,7 @@ def mainnet(cls, node='lb'): grpc_exchange_endpoint = 'k8s.global.mainnet.exchange.grpc.injective.network:443' grpc_explorer_endpoint = 'k8s.global.mainnet.explorer.grpc.injective.network:443' else: - lcd_endpoint='https://lcd.injective.network' + lcd_endpoint=f'http://{node}.injective.network:10337' tm_websocket_endpoint=f'ws://{node}.injective.network:26657/websocket' grpc_endpoint=f'{node}.injective.network:9900' grpc_exchange_endpoint=f'{node}.injective.network:9910' From d9b38ab2e059f73afc92caa50aaefaa6deb7926f Mon Sep 17 00:00:00 2001 From: abel Date: Wed, 28 Jun 2023 10:56:53 -0300 Subject: [PATCH 2/2] (fix) Updated changelog --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0107105c..fbf07b17 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ make tests ### Changelogs **0.7** * Removed references to pysha3 library (and also eip712-struct that required it) and replaced it with other implementation to allow the project to work with Python 3.11 +* Updated sentry nodes LCD URL, for each sentry node to use its own service **0.6.5** * Removed `k8s` from the list of supported mainnet nodes (`lb` should be used instead)