From 5ec1bc99c97c8b148c9e460477dffc04ce8ab2ab Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 13 Dec 2022 16:31:56 +0000 Subject: [PATCH] fix: calculatePalletAddress ss58Format --- --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -305,7 +305,7 @@ calculatePalletAddress(palletId: any) { const address = stringToU8a(('modl' + palletId).padEnd(32, '\0')); - return encodeAddress(address); + return encodeAddress(address, this.helper.chain.getChainProperties().ss58Format); } makeScheduledIds(num: number): string[] { -- gitstuff