Skip to content

Commit

Permalink
update snapshots (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: Acala Github Action Bot <[email protected]>
  • Loading branch information
github-actions[bot] and Acala Github Action Bot authored Jun 1, 2024
1 parent 3769c9b commit 280ff87
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 151 deletions.
4 changes: 2 additions & 2 deletions tests/acala/__snapshots__/stable-asset.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ exports[`acala stable asset > swap overflow > events 1`] = `
"paysFee": "Yes",
"weight": {
"proofSize": "(rounded 11000)",
"refTime": "(rounded 3000000000)",
"refTime": "(rounded 2900000000)",
},
},
},
Expand Down Expand Up @@ -215,7 +215,7 @@ exports[`karura stable asset > swap overflow > events 1`] = `
"paysFee": "Yes",
"weight": {
"proofSize": "(rounded 11000)",
"refTime": "(rounded 3000000000)",
"refTime": "(rounded 2900000000)",
},
},
},
Expand Down
112 changes: 52 additions & 60 deletions tests/xcm-transfer/__snapshots__/kusama-para.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
],
Expand All @@ -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",
},
]
Expand Down Expand Up @@ -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,
},
},
],
Expand All @@ -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",
},
]
Expand Down
52 changes: 24 additions & 28 deletions tests/xcm-transfer/__snapshots__/kusama-relay.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand All @@ -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",
},
]
Expand Down Expand Up @@ -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,
},
Expand All @@ -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",
},
]
Expand Down
56 changes: 23 additions & 33 deletions tests/xcm-transfer/__snapshots__/polkadot-para.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -147,33 +147,29 @@ exports[`'acala' -> 'assetHubPolkadot' xcm transfer 'WBTC' > xtokens transfer >
"Fungible": 16000000000,
},
"id": {
"Concrete": {
"interior": "Here",
"parents": 1,
},
"interior": "Here",
"parents": 1,
},
},
{
"fun": {
"Fungible": 10000000,
},
"id": {
"Concrete": {
"interior": {
"X3": [
{
"Parachain": 1000,
},
{
"PalletInstance": 50,
},
{
"GeneralIndex": 21,
},
],
},
"parents": 1,
"interior": {
"X3": [
{
"Parachain": 1000,
},
{
"PalletInstance": 50,
},
{
"GeneralIndex": 21,
},
],
},
"parents": 1,
},
},
],
Expand All @@ -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",
},
]
Expand Down Expand Up @@ -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,
},
},
],
Expand All @@ -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",
},
]
Expand Down
Loading

0 comments on commit 280ff87

Please sign in to comment.