From 280ff878dad6c2cb70da6ebef3d6e5342d5e38db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 10:26:47 +1200 Subject: [PATCH] update snapshots (#198) Co-authored-by: Acala Github Action Bot --- .../__snapshots__/stable-asset.test.ts.snap | 4 +- .../__snapshots__/kusama-para.test.ts.snap | 112 ++++++++---------- .../__snapshots__/kusama-relay.test.ts.snap | 52 ++++---- .../__snapshots__/polkadot-para.test.ts.snap | 56 ++++----- .../__snapshots__/polkadot-relay.test.ts.snap | 52 ++++---- 5 files changed, 125 insertions(+), 151 deletions(-) diff --git a/tests/acala/__snapshots__/stable-asset.test.ts.snap b/tests/acala/__snapshots__/stable-asset.test.ts.snap index 691ff4e..bb29b34 100644 --- a/tests/acala/__snapshots__/stable-asset.test.ts.snap +++ b/tests/acala/__snapshots__/stable-asset.test.ts.snap @@ -62,7 +62,7 @@ exports[`acala stable asset > swap overflow > events 1`] = ` "paysFee": "Yes", "weight": { "proofSize": "(rounded 11000)", - "refTime": "(rounded 3000000000)", + "refTime": "(rounded 2900000000)", }, }, }, @@ -215,7 +215,7 @@ exports[`karura stable asset > swap overflow > events 1`] = ` "paysFee": "Yes", "weight": { "proofSize": "(rounded 11000)", - "refTime": "(rounded 3000000000)", + "refTime": "(rounded 2900000000)", }, }, }, diff --git a/tests/xcm-transfer/__snapshots__/kusama-para.test.ts.snap b/tests/xcm-transfer/__snapshots__/kusama-para.test.ts.snap index 86e396f..35b7a02 100644 --- a/tests/xcm-transfer/__snapshots__/kusama-para.test.ts.snap +++ b/tests/xcm-transfer/__snapshots__/kusama-para.test.ts.snap @@ -433,22 +433,20 @@ exports[`'karura' -> 'assetHubKusama' xcm transfer 'USDT' > xtokens transfer > t "Fungible": 1000000, }, "id": { - "Concrete": { - "interior": { - "X3": [ - { - "Parachain": 1000, - }, - { - "PalletInstance": 50, - }, - { - "GeneralIndex": "(rounded 2000)", - }, - ], - }, - "parents": 1, + "interior": { + "X3": [ + { + "Parachain": 1000, + }, + { + "PalletInstance": 50, + }, + { + "GeneralIndex": "(rounded 2000)", + }, + ], }, + "parents": 1, }, }, ], @@ -473,27 +471,25 @@ exports[`'karura' -> 'assetHubKusama' xcm transfer 'USDT' > xtokens transfer > t "Fungible": 1000000, }, "id": { - "Concrete": { - "interior": { - "X3": [ - { - "Parachain": 1000, - }, - { - "PalletInstance": 50, - }, - { - "GeneralIndex": "(rounded 2000)", - }, - ], - }, - "parents": 1, + "interior": { + "X3": [ + { + "Parachain": 1000, + }, + { + "PalletInstance": 50, + }, + { + "GeneralIndex": "(rounded 2000)", + }, + ], }, + "parents": 1, }, }, "sender": "rPizfonc8MPuEsMxufAytHjpRW7a2YrXWHKibaJXe9ZtjKx", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] @@ -631,22 +627,20 @@ exports[`'karura' -> 'basilisk' xcm transfer 'DAI' > xtokens transfer > tx event "Fungible": 1000000000000000000, }, "id": { - "Concrete": { - "interior": { - "X2": [ - { - "Parachain": 2000, - }, - { - "GeneralKey": { - "data": "(hash)", - "length": 21, - }, + "interior": { + "X2": [ + { + "Parachain": 2000, + }, + { + "GeneralKey": { + "data": "(hash)", + "length": 21, }, - ], - }, - "parents": 1, + }, + ], }, + "parents": 1, }, }, ], @@ -671,27 +665,25 @@ exports[`'karura' -> 'basilisk' xcm transfer 'DAI' > xtokens transfer > tx event "Fungible": 1000000000000000000, }, "id": { - "Concrete": { - "interior": { - "X2": [ - { - "Parachain": 2000, - }, - { - "GeneralKey": { - "data": "(hash)", - "length": 21, - }, + "interior": { + "X2": [ + { + "Parachain": 2000, + }, + { + "GeneralKey": { + "data": "(hash)", + "length": 21, }, - ], - }, - "parents": 1, + }, + ], }, + "parents": 1, }, }, "sender": "rPizfonc8MPuEsMxufAytHjpRW7a2YrXWHKibaJXe9ZtjKx", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] diff --git a/tests/xcm-transfer/__snapshots__/kusama-relay.test.ts.snap b/tests/xcm-transfer/__snapshots__/kusama-relay.test.ts.snap index bae7b0d..6052f79 100644 --- a/tests/xcm-transfer/__snapshots__/kusama-relay.test.ts.snap +++ b/tests/xcm-transfer/__snapshots__/kusama-relay.test.ts.snap @@ -127,21 +127,21 @@ exports[`'karura' -> 'kusama' xcm transfer 'KSM wiht limited weight' > xtokens t "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, ], "dest": { "interior": { - "X1": { - "AccountId32": { - "id": "(hash)", - "network": null, + "X1": [ + { + "AccountId32": { + "id": "(hash)", + "network": null, + }, }, - }, + ], }, "parents": 1, }, @@ -150,15 +150,13 @@ exports[`'karura' -> 'kusama' xcm transfer 'KSM wiht limited weight' > xtokens t "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, "sender": "rPizfonc8MPuEsMxufAytHjpRW7a2YrXWHKibaJXe9ZtjKx", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] @@ -291,21 +289,21 @@ exports[`'karura' -> 'kusama' xcm transfer 'KSM' > xtokens transfer > tx events "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, ], "dest": { "interior": { - "X1": { - "AccountId32": { - "id": "(hash)", - "network": null, + "X1": [ + { + "AccountId32": { + "id": "(hash)", + "network": null, + }, }, - }, + ], }, "parents": 1, }, @@ -314,15 +312,13 @@ exports[`'karura' -> 'kusama' xcm transfer 'KSM' > xtokens transfer > tx events "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, "sender": "rPizfonc8MPuEsMxufAytHjpRW7a2YrXWHKibaJXe9ZtjKx", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] diff --git a/tests/xcm-transfer/__snapshots__/polkadot-para.test.ts.snap b/tests/xcm-transfer/__snapshots__/polkadot-para.test.ts.snap index 1bb182b..cf261d2 100644 --- a/tests/xcm-transfer/__snapshots__/polkadot-para.test.ts.snap +++ b/tests/xcm-transfer/__snapshots__/polkadot-para.test.ts.snap @@ -147,10 +147,8 @@ exports[`'acala' -> 'assetHubPolkadot' xcm transfer 'WBTC' > xtokens transfer > "Fungible": 16000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, { @@ -158,22 +156,20 @@ exports[`'acala' -> 'assetHubPolkadot' xcm transfer 'WBTC' > xtokens transfer > "Fungible": 10000000, }, "id": { - "Concrete": { - "interior": { - "X3": [ - { - "Parachain": 1000, - }, - { - "PalletInstance": 50, - }, - { - "GeneralIndex": 21, - }, - ], - }, - "parents": 1, + "interior": { + "X3": [ + { + "Parachain": 1000, + }, + { + "PalletInstance": 50, + }, + { + "GeneralIndex": 21, + }, + ], }, + "parents": 1, }, }, ], @@ -198,15 +194,13 @@ exports[`'acala' -> 'assetHubPolkadot' xcm transfer 'WBTC' > xtokens transfer > "Fungible": 16000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, "sender": "23y3WetbNi6rDMgHmyRDjgpb7PnhgPotuPPawxruTMLYTLzG", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] @@ -371,10 +365,8 @@ exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > tx events "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, ], @@ -399,15 +391,13 @@ exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > tx events "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, "sender": "23y3WetbNi6rDMgHmyRDjgpb7PnhgPotuPPawxruTMLYTLzG", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] diff --git a/tests/xcm-transfer/__snapshots__/polkadot-relay.test.ts.snap b/tests/xcm-transfer/__snapshots__/polkadot-relay.test.ts.snap index f15319f..187498c 100644 --- a/tests/xcm-transfer/__snapshots__/polkadot-relay.test.ts.snap +++ b/tests/xcm-transfer/__snapshots__/polkadot-relay.test.ts.snap @@ -127,21 +127,21 @@ exports[`'acala' -> 'polkadot' xcm transfer 'DOT wiht limited weight' > xtokens "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, ], "dest": { "interior": { - "X1": { - "AccountId32": { - "id": "(hash)", - "network": null, + "X1": [ + { + "AccountId32": { + "id": "(hash)", + "network": null, + }, }, - }, + ], }, "parents": 1, }, @@ -150,15 +150,13 @@ exports[`'acala' -> 'polkadot' xcm transfer 'DOT wiht limited weight' > xtokens "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, "sender": "23y3WetbNi6rDMgHmyRDjgpb7PnhgPotuPPawxruTMLYTLzG", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ] @@ -291,21 +289,21 @@ exports[`'acala' -> 'polkadot' xcm transfer 'DOT' > xtokens transfer > tx events "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, ], "dest": { "interior": { - "X1": { - "AccountId32": { - "id": "(hash)", - "network": null, + "X1": [ + { + "AccountId32": { + "id": "(hash)", + "network": null, + }, }, - }, + ], }, "parents": 1, }, @@ -314,15 +312,13 @@ exports[`'acala' -> 'polkadot' xcm transfer 'DOT' > xtokens transfer > tx events "Fungible": 1000000000000, }, "id": { - "Concrete": { - "interior": "Here", - "parents": 1, - }, + "interior": "Here", + "parents": 1, }, }, "sender": "23y3WetbNi6rDMgHmyRDjgpb7PnhgPotuPPawxruTMLYTLzG", }, - "method": "TransferredMultiAssets", + "method": "TransferredAssets", "section": "xTokens", }, ]