Skip to content

Commit

Permalink
subnode juno (notional-labs#296)
Browse files Browse the repository at this point in the history
* add juno subnode
notional-labs#291
  • Loading branch information
baabeetaa authored Apr 10, 2023
1 parent f279d4c commit 3f0d5ad
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions data/subnode_registry.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[osmosis]
network = "net6"

[juno]
network = "net1"
2 changes: 1 addition & 1 deletion proxy/generate_upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ done

sleep 1
########################################################################################################################
SERVICES_SUBNODE="osmosis"
SERVICES_SUBNODE="osmosis juno"
for service_name in $SERVICES_SUBNODE; do
lb_ip=$(dig +short "tasks.sub_$service_name")
if [[ -z "$lb_ip" ]]; then
Expand Down
17 changes: 17 additions & 0 deletions subnode/juno_subnode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
upstream:
- rpc: "http://tasks.lb_juno:8000"
api: "http://tasks.lb_juno:8001"
grpc: "tasks.lb_juno:8003"
blocks: [362880]
- rpc: "http://tasks.lb_juno-archive-sub:8000"
api: "http://tasks.lb_juno-archive-sub:8001"
grpc: "tasks.lb_juno-archive-sub:8003"
blocks: [4136531,0]
- rpc: "http://tasks.lb_juno-archive-sub1:8000"
api: "http://tasks.lb_juno-archive-sub1:8001"
grpc: "tasks.lb_juno-archive-sub1:8003"
blocks: [2578099,4136530]
- rpc: "http://tasks.lb_juno-archive-sub2:8000"
api: "http://tasks.lb_juno-archive-sub2:8001"
grpc: "tasks.lb_juno-archive-sub2:8003"
blocks: [0,2578097]

0 comments on commit 3f0d5ad

Please sign in to comment.