difftreelog
Merge pull request #992 from UniqueNetwork/fix/pallet-presence-release-60
in: master
1 file changed
tests/src/pallet-presence.test.tsdiffbeforeafterboth61describe('Pallet presence', () => {61describe('Pallet presence', () => {62 before(async () => {62 before(async () => {63 await usingPlaygrounds(async helper => {63 await usingPlaygrounds(async helper => {64 const chain = await helper.callRpc('api.rpc.system.chain', []);64 const runtimeVersion = await helper.callRpc('api.rpc.state.getRuntimeVersion', []);65 const chain = runtimeVersion.specName;656666 const refungible = 'refungible';67 const refungible = 'refungible';67 const foreignAssets = 'foreignassets';68 const foreignAssets = 'foreignassets';81 ];82 ];82 const testUtils = 'testutils';83 const testUtils = 'testutils';838484 if(chain.eq('OPAL by UNIQUE')) {85 if(chain.eq('opal')) {85 requiredPallets.push(86 requiredPallets.push(86 refungible,87 refungible,87 foreignAssets,88 foreignAssets,91 ...preimage,92 ...preimage,92 ...governance,93 ...governance,93 );94 );94 } else if(chain.eq('QUARTZ by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {95 } else if(chain.eq('quartz') || chain.eq('sapphire')) {95 requiredPallets.push(96 requiredPallets.push(96 refungible,97 refungible,97 appPromotion,98 appPromotion,100 ...preimage,101 ...preimage,101 ...governance,102 ...governance,102 );103 );103 } else if(chain.eq('UNIQUE')) {104 } else if(chain.eq('unique')) {104 // Insert Unique additional pallets here105 // Insert Unique additional pallets here105 requiredPallets.push(106 requiredPallets.push(106 refungible,107 refungible,