From 0b50eb5cf1970531ff8e118e879e69085cbc89c6 Mon Sep 17 00:00:00 2001 From: ndk Date: Thu, 21 Nov 2024 17:25:12 +0100 Subject: [PATCH] changed destination accountID and rounded weights --- .../src/__snapshots__/assetHub.polkadot.test.ts.snap | 10 +++++----- packages/polkadot/src/assetHub.polkadot.test.ts | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/polkadot/src/__snapshots__/assetHub.polkadot.test.ts.snap b/packages/polkadot/src/__snapshots__/assetHub.polkadot.test.ts.snap index 218e7b95..0a5220e3 100644 --- a/packages/polkadot/src/__snapshots__/assetHub.polkadot.test.ts.snap +++ b/packages/polkadot/src/__snapshots__/assetHub.polkadot.test.ts.snap @@ -20,12 +20,12 @@ exports[`asset hub & polkadot > Teleport DOT from Asset Hub to Polkadot > balanc "consumers": 0, "data": { "flags": "0x80000000000000000000000000000000", - "free": 0, + "free": "(rounded 7000000000000)", "frozen": 0, "reserved": 0, }, "nonce": 0, - "providers": 0, + "providers": 1, "sufficients": 0, } `; @@ -82,7 +82,7 @@ exports[`asset hub & polkadot > Teleport DOT from Asset Hub to Polkadot > from c "x1": [ { "accountId32": { - "id": "0x439660b36c6c03afafca027b910b4fecf99801834c62a5e6006f27d978de234f", + "id": "0xd17c2d7823ebf260fd138f2d7e27d114c0145d968b5ff5006125f2414fadae69", "network": null, }, }, @@ -161,12 +161,12 @@ exports[`asset hub & polkadot > Teleport DOT from Polkadot to Asset Hub > balanc "consumers": 0, "data": { "flags": "0x80000000000000000000000000000000", - "free": 0, + "free": "(rounded 7000000000000)", "frozen": 0, "reserved": 0, }, "nonce": 0, - "providers": 0, + "providers": 1, "sufficients": 0, } `; diff --git a/packages/polkadot/src/assetHub.polkadot.test.ts b/packages/polkadot/src/assetHub.polkadot.test.ts index 60920652..75442497 100644 --- a/packages/polkadot/src/assetHub.polkadot.test.ts +++ b/packages/polkadot/src/assetHub.polkadot.test.ts @@ -70,7 +70,7 @@ describe('asset hub & polkadot', async () => { x1: [ { accountId32: { - id: defaultAccounts.charlie.addressRaw, + id: defaultAccounts.bob.addressRaw, network: null, }, }, @@ -84,7 +84,7 @@ describe('asset hub & polkadot', async () => { }, ], }, - { ref_time: 55_791_617_000n, proof_size: 364_593n }, + { ref_time: 100_000_000_000n, proof_size: 1_000_000n }, ), } }) @@ -156,7 +156,7 @@ describe('asset hub & polkadot', async () => { x1: [ { accountId32: { - id: defaultAccounts.charlie.addressRaw, + id: defaultAccounts.bob.addressRaw, network: null, }, }, @@ -170,7 +170,7 @@ describe('asset hub & polkadot', async () => { }, ], }, - { ref_time: 55_791_617_000n, proof_size: 364_593n }, + { ref_time: 100_000_000_000n, proof_size: 1_000_000n }, ), } })