From 423e1a3dee03893e9f806c6700f66af460b2517a Mon Sep 17 00:00:00 2001 From: leohar Date: Wed, 6 Dec 2023 11:34:36 +0100 Subject: [PATCH 1/6] fix --- xcm/v5/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v5/transfers_dev.json b/xcm/v5/transfers_dev.json index 7b17d5429..2d7cb1005 100644 --- a/xcm/v5/transfers_dev.json +++ b/xcm/v5/transfers_dev.json @@ -8617,7 +8617,7 @@ "assetId": 0, "assetLocation": "SUB", "assetLocationPath": { - "type": "relative" + "type": "absolut" }, "xcmTransfers": [ { From e8cc8866eab37c44a1889bc52ac6e1b148de9dc8 Mon Sep 17 00:00:00 2001 From: leohar Date: Wed, 6 Dec 2023 11:36:58 +0100 Subject: [PATCH 2/6] fix --- xcm/v5/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v5/transfers_dev.json b/xcm/v5/transfers_dev.json index 2d7cb1005..1aca0c980 100644 --- a/xcm/v5/transfers_dev.json +++ b/xcm/v5/transfers_dev.json @@ -8617,7 +8617,7 @@ "assetId": 0, "assetLocation": "SUB", "assetLocationPath": { - "type": "absolut" + "type": "absolute" }, "xcmTransfers": [ { From 1903a1fd5a9cc6d181e4dce1d5220d59a1c0f7d1 Mon Sep 17 00:00:00 2001 From: leohar Date: Wed, 6 Dec 2023 12:13:56 +0100 Subject: [PATCH 3/6] fix --- xcm/v5/transfers_dev.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xcm/v5/transfers_dev.json b/xcm/v5/transfers_dev.json index 1aca0c980..71a6650a1 100644 --- a/xcm/v5/transfers_dev.json +++ b/xcm/v5/transfers_dev.json @@ -8617,7 +8617,7 @@ "assetId": 0, "assetLocation": "SUB", "assetLocationPath": { - "type": "absolute" + "type": "relative" }, "xcmTransfers": [ { @@ -8629,10 +8629,10 @@ "type": "proportional", "value": "8800000000000" }, - "instructions": "xtokensDest" + "instructions": "xcmPalletDest" } }, - "type": "xtokens" + "type": "xcmpallet" } ] } From f800151f5b5270962fb5d7ed3a0a8f4cfeb69da5 Mon Sep 17 00:00:00 2001 From: leohar Date: Wed, 6 Dec 2023 12:36:56 +0100 Subject: [PATCH 4/6] fix --- xcm/v5/transfers_dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcm/v5/transfers_dev.json b/xcm/v5/transfers_dev.json index 71a6650a1..9f99afc4e 100644 --- a/xcm/v5/transfers_dev.json +++ b/xcm/v5/transfers_dev.json @@ -8617,7 +8617,7 @@ "assetId": 0, "assetLocation": "SUB", "assetLocationPath": { - "type": "relative" + "type": "absolute" }, "xcmTransfers": [ { From 7ff75011b53cd184837858c8de0c7b068310e8b1 Mon Sep 17 00:00:00 2001 From: leohar Date: Wed, 6 Dec 2023 19:31:12 +0100 Subject: [PATCH 5/6] fix --- xcm/v5/transfers_dev.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcm/v5/transfers_dev.json b/xcm/v5/transfers_dev.json index 9f99afc4e..1aca0c980 100644 --- a/xcm/v5/transfers_dev.json +++ b/xcm/v5/transfers_dev.json @@ -8629,10 +8629,10 @@ "type": "proportional", "value": "8800000000000" }, - "instructions": "xcmPalletDest" + "instructions": "xtokensDest" } }, - "type": "xcmpallet" + "type": "xtokens" } ] } From fdde6522b0a13fcafa70c38facf1f27f82542378 Mon Sep 17 00:00:00 2001 From: leohar Date: Wed, 6 Dec 2023 19:45:59 +0100 Subject: [PATCH 6/6] fix --- scripts/print_xcm_changes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/print_xcm_changes.py b/scripts/print_xcm_changes.py index 295967ef7..f1a87b1e6 100644 --- a/scripts/print_xcm_changes.py +++ b/scripts/print_xcm_changes.py @@ -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)