Skip to content

Commit

Permalink
rename storage entry struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad96el authored and ntn-x2 committed Jul 19, 2024
1 parent 9a077dc commit 9e3487e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration-tests/chopsticks/src/network/spiritnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function setGovernance(addr: string[]) {
}
}

export function getSafeXcmVersion3() {
export function XcmPalletSafeVersion3StorageEntry() {
return {
polkadotXcm: {
safeXcmVersion: 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e3487e

Please sign in to comment.