Skip to content

Commit 95fcb58

Browse files
authored
Merge pull request #217 from InjectiveLabs/fix/configure_lcd_urls_for_each_server
Fix/configure lcd urls for each server
2 parents ecf9322 + d9b38ab commit 95fcb58

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ make tests
8989
### Changelogs
9090
**0.7**
9191
* 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
92+
* Updated sentry nodes LCD URL, for each sentry node to use its own service
9293

9394
**0.6.5**
9495
* Removed `k8s` from the list of supported mainnet nodes (`lb` should be used instead)

pyinjective/constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def mainnet(cls, node='lb'):
124124
grpc_exchange_endpoint = 'k8s.global.mainnet.exchange.grpc.injective.network:443'
125125
grpc_explorer_endpoint = 'k8s.global.mainnet.explorer.grpc.injective.network:443'
126126
else:
127-
lcd_endpoint='https://lcd.injective.network'
127+
lcd_endpoint=f'http://{node}.injective.network:10337'
128128
tm_websocket_endpoint=f'ws://{node}.injective.network:26657/websocket'
129129
grpc_endpoint=f'{node}.injective.network:9900'
130130
grpc_exchange_endpoint=f'{node}.injective.network:9910'

0 commit comments

Comments
 (0)