Skip to content

Commit

Permalink
Test/fix sub xcm (#358)
Browse files Browse the repository at this point in the history
* fix

* fix

* fix

* fix

* fix

* fix
  • Loading branch information
leohar authored Dec 6, 2023
1 parent 55fb4fd commit d8d21d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/print_xcm_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,16 @@ def main(argv):

if 'DEV' in argv:
transfers_file = os.getenv(
"DEV_XCM_JSON_PATH", "xcm/v4/transfers_dev.json")
"DEV_XCM_JSON_PATH", "xcm/v5/transfers_dev.json")
chains_url = nova_utils_url + \
os.getenv("DEV_CHAINS_JSON_PATH", "chains/v13/chains_dev.json")
os.getenv("DEV_CHAINS_JSON_PATH", "chains/v16/chains_dev.json")
elif 'PROD' in argv:
transfers_file = os.getenv("XCM_JSON_PATH", "xcm/v4/transfers.json")
transfers_file = os.getenv("XCM_JSON_PATH", "xcm/v5/transfers.json")
chains_url = nova_utils_url + \
os.getenv("CHAINS_JSON_PATH", "chains/v13/chains.json")
os.getenv("CHAINS_JSON_PATH", "chains/v16/chains.json")
else:
raise Exception(
'Provide a string `dev` or `prod` as parameter for the script')
'Provide a string `DEV` or `prod` as parameter for the script')

transfers_file_url = nova_utils_url + transfers_file
transfers_from_file = get_data_from_file(transfers_file)
Expand Down

0 comments on commit d8d21d5

Please sign in to comment.