From 9e3487e6f91a2a23227bfcdf0e6dca3fbca35ef0 Mon Sep 17 00:00:00 2001 From: Adel Golghalyani Date: Thu, 18 Jul 2024 14:39:28 +0200 Subject: [PATCH] rename storage entry struct --- integration-tests/chopsticks/src/network/spiritnet.ts | 2 +- .../assetHub/limitedReserveTransferSpiritnetAssetHub.test.ts | 2 +- .../xcm/assetHub/teleportTransferSpiritnetAssetHub.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/chopsticks/src/network/spiritnet.ts b/integration-tests/chopsticks/src/network/spiritnet.ts index 333630ccb..a1530a29d 100644 --- a/integration-tests/chopsticks/src/network/spiritnet.ts +++ b/integration-tests/chopsticks/src/network/spiritnet.ts @@ -26,7 +26,7 @@ export function setGovernance(addr: string[]) { } } -export function getSafeXcmVersion3() { +export function XcmPalletSafeVersion3StorageEntry() { return { polkadotXcm: { safeXcmVersion: 3, diff --git a/integration-tests/chopsticks/src/tests/xcm/assetHub/limitedReserveTransferSpiritnetAssetHub.test.ts b/integration-tests/chopsticks/src/tests/xcm/assetHub/limitedReserveTransferSpiritnetAssetHub.test.ts index fa9ba444c..7d1123309 100644 --- a/integration-tests/chopsticks/src/tests/xcm/assetHub/limitedReserveTransferSpiritnetAssetHub.test.ts +++ b/integration-tests/chopsticks/src/tests/xcm/assetHub/limitedReserveTransferSpiritnetAssetHub.test.ts @@ -14,7 +14,7 @@ test('Limited Reserve Transfers from Spiritnet Account Alice -> AH Account Alice // Assign alice some KILT tokens await setStorage(spiritnetContext, { ...SpiritnetConfig.assignNativeTokensToAccounts([keysAlice.address], initialBalanceKILT), - ...SpiritnetConfig.getSafeXcmVersion3(), + ...SpiritnetConfig.XcmPalletSafeVersion3StorageEntry(), }) // Balance of the AH sovereign account before the transfer diff --git a/integration-tests/chopsticks/src/tests/xcm/assetHub/teleportTransferSpiritnetAssetHub.test.ts b/integration-tests/chopsticks/src/tests/xcm/assetHub/teleportTransferSpiritnetAssetHub.test.ts index 90e168971..93789b147 100644 --- a/integration-tests/chopsticks/src/tests/xcm/assetHub/teleportTransferSpiritnetAssetHub.test.ts +++ b/integration-tests/chopsticks/src/tests/xcm/assetHub/teleportTransferSpiritnetAssetHub.test.ts @@ -11,7 +11,7 @@ test('Teleport assets from Spiritnet Account Alice -> AH Account Alice', async ( // Assign alice some KILT tokens await setStorage(spiritnetContext, { ...SpiritnetConfig.assignNativeTokensToAccounts([keysAlice.address], initialBalanceKILT), - ...SpiritnetConfig.getSafeXcmVersion3(), + ...SpiritnetConfig.XcmPalletSafeVersion3StorageEntry(), }) // check initial balance of Alice on Spiritnet