Skip to content

Commit

Permalink
remove acala <> moonbeam tests (#219)
Browse files Browse the repository at this point in the history
* remove acala <> moonbeam tests

* update
  • Loading branch information
xlc authored Dec 4, 2024
1 parent 9e369cf commit f2fb2fb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 382 deletions.
2 changes: 1 addition & 1 deletion tests/bridge-sdk/__snapshots__/kusama.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ exports[`'karura' to 'bifrost' using bridgeSDK cross-chain 'KUSD' > Cross-chain
"address": "5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TTpu",
"decimals": 12,
"fromChain": 8,
"toChain": "(rounded 1.84)",
"toChain": "(rounded 1.83)",
}
`;

Expand Down
344 changes: 0 additions & 344 deletions tests/xcm-transfer/__snapshots__/polkadot-para.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -206,203 +206,6 @@ exports[`'acala' -> 'assetHubPolkadot' xcm transfer 'WBTC' > xtokens transfer >
]
`;

exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > balance on from chain 1`] = `
{
"free": 9000000000000,
"frozen": 0,
"reserved": 0,
}
`;

exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > balance on to chain 1`] = `
{
"balance": "(rounded 999000000000)",
"extra": null,
"reason": {
"sufficient": null,
},
"status": "Liquid",
}
`;

exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > from chain ump messages 1`] = `
[
{
"v2": [
{
"withdrawAsset": [
{
"fun": {
"fungible": 1000000000000,
},
"id": {
"concrete": {
"interior": {
"here": null,
},
"parents": 0,
},
},
},
],
},
{
"clearOrigin": null,
},
{
"buyExecution": {
"fees": {
"fun": {
"fungible": 500000000000,
},
"id": {
"concrete": {
"interior": {
"here": null,
},
"parents": 0,
},
},
},
"weightLimit": {
"unlimited": null,
},
},
},
{
"depositReserveAsset": {
"assets": {
"wild": {
"all": null,
},
},
"dest": {
"interior": {
"x1": {
"parachain": 2004,
},
},
"parents": 0,
},
"maxAssets": 1,
"xcm": [
{
"buyExecution": {
"fees": {
"fun": {
"fungible": 500000000000,
},
"id": {
"concrete": {
"interior": {
"here": null,
},
"parents": 1,
},
},
},
"weightLimit": {
"unlimited": null,
},
},
},
{
"depositAsset": {
"assets": {
"wild": {
"all": null,
},
},
"beneficiary": {
"interior": {
"x1": {
"accountKey20": {
"key": "0xf24ff3a9cf04c71dbc94d0b566f7a27b94566cac",
"network": {
"any": null,
},
},
},
},
"parents": 0,
},
"maxAssets": 1,
},
},
],
},
},
],
},
]
`;

exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > to chain xcm events 1`] = `
[
{
"data": {
"id": "(hash)",
"origin": "Parent",
"success": true,
"weightUsed": {
"proofSize": "(rounded 29000)",
"refTime": "(rounded 4200000000)",
},
},
"method": "Processed",
"section": "messageQueue",
},
]
`;

exports[`'acala' -> 'moonbeam' xcm transfer 'DOT' > xtokens transfer > tx events 1`] = `
[
{
"data": {
"assets": [
{
"fun": {
"Fungible": 1000000000000,
},
"id": {
"interior": "Here",
"parents": 1,
},
},
],
"dest": {
"interior": {
"X2": [
{
"Parachain": "(rounded 2000)",
},
{
"AccountKey20": {
"key": "0xf24ff3a9cf04c71dbc94d0b566f7a27b94566cac",
"network": null,
},
},
],
},
"parents": 1,
},
"fee": {
"fun": {
"Fungible": 1000000000000,
},
"id": {
"interior": "Here",
"parents": 1,
},
},
"sender": "23y3WetbNi6rDMgHmyRDjgpb7PnhgPotuPPawxruTMLYTLzG",
},
"method": "TransferredAssets",
"section": "xTokens",
},
]
`;

exports[`'assetHubPolkadot' -> 'acala' xcm transfer 'WBTC' > xcmPallet transfer > balance on from chain 1`] = `
{
"balance": 90000000,
Expand Down Expand Up @@ -694,150 +497,3 @@ exports[`'assetHubPolkadot' -> 'acala' xcm transfer 'WBTC' > xcmPallet transfer
},
]
`;

exports[`'moonbeam' -> 'acala' xcm transfer 'DOT' > xtokens transfer > balance on from chain 1`] = `
{
"balance": 9000000000000,
"extra": null,
"reason": {
"consumer": null,
},
"status": "Liquid",
}
`;

exports[`'moonbeam' -> 'acala' xcm transfer 'DOT' > xtokens transfer > balance on to chain 1`] = `
{
"free": "(rounded 11000000000000)",
"frozen": 0,
"reserved": 0,
}
`;

exports[`'moonbeam' -> 'acala' xcm transfer 'DOT' > xtokens transfer > from chain ump messages 1`] = `
[
{
"v3": [
{
"withdrawAsset": [
{
"fun": {
"fungible": 1000000000000,
},
"id": {
"concrete": {
"interior": {
"here": null,
},
"parents": 0,
},
},
},
],
},
{
"clearOrigin": null,
},
{
"buyExecution": {
"fees": {
"fun": {
"fungible": 500000000000,
},
"id": {
"concrete": {
"interior": {
"here": null,
},
"parents": 0,
},
},
},
"weightLimit": {
"unlimited": null,
},
},
},
{
"depositReserveAsset": {
"assets": {
"wild": {
"allCounted": 1,
},
},
"dest": {
"interior": {
"x1": {
"parachain": 2000,
},
},
"parents": 0,
},
"xcm": [
{
"buyExecution": {
"fees": {
"fun": {
"fungible": 500000000000,
},
"id": {
"concrete": {
"interior": {
"here": null,
},
"parents": 1,
},
},
},
"weightLimit": {
"unlimited": null,
},
},
},
{
"depositAsset": {
"assets": {
"wild": {
"allCounted": 1,
},
},
"beneficiary": {
"interior": {
"x1": {
"accountId32": {
"id": "0x88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee",
"network": null,
},
},
},
"parents": 0,
},
},
},
],
},
},
],
},
]
`;

exports[`'moonbeam' -> 'acala' xcm transfer 'DOT' > xtokens transfer > to chain xcm events 1`] = `
[
{
"data": {
"id": "(hash)",
"origin": "Parent",
"success": true,
"weightUsed": {
"proofSize": 0,
"refTime": 1000000000,
},
},
"method": "Processed",
"section": "messageQueue",
},
]
`;

exports[`'moonbeam' -> 'acala' xcm transfer 'DOT' > xtokens transfer > tx events 1`] = `[]`;
Loading

0 comments on commit f2fb2fb

Please sign in to comment.