Skip to content

Commit

Permalink
Rename gravity identifier (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-script authored Jan 15, 2024
1 parent e861da7 commit e5d47fd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions cronjobs/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright Tharsis Labs Ltd.(Evmos)
# SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/backend/blob/main/LICENSE)

# Copyright Tharsis Labs Ltd.(Evmos)
# SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/backend/blob/main/LICENSE)

from __future__ import annotations

import os
Expand All @@ -15,7 +15,7 @@
INDEXING_DISABLED_ERROR = "transaction indexing is disabled"

class Networks(Enum):
GRAV = 'GRAVITY'
GRAV = 'GRAVITYBRIDGE'
EVMOS = 'EVMOS'
OSMOSIS = 'OSMOSIS'
COSMOS = 'COSMOS'
Expand Down
2 changes: 1 addition & 1 deletion cronjobs/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def ping_rest(endpoint: str, rest_list: EndpointSafeList, tendermint_exposed=Tru


def process_chain(chain: str, chain_info):
tendermint_exposed = chain != 'GRAVITY'
tendermint_exposed = chain != 'GRAVITYBRIDGE'
rest_threads = []
rest_list = EndpointSafeList()
for rest in chain_info[chain]['rest']:
Expand Down
3 changes: 2 additions & 1 deletion cronjobs/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ do
fi
sleep 2
done
python $1.py

python -u $1.py
2 changes: 1 addition & 1 deletion internal/v1/constants/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package constants

const (
GRAV = "GRAVITY"
GRAV = "GRAVITYBRIDGE"
EVMOS = "EVMOS"
OSMOSIS = "OSMOSIS"
COSMOS = "COSMOS"
Expand Down

0 comments on commit e5d47fd

Please sign in to comment.