difftreelog
fix use createAccounts instead of createCrown
in: master
1 file changed
tests/src/app-promotion.test.tsdiffbeforeafterboth37 palletAdmin = await privateKey('//PromotionAdmin');37 palletAdmin = await privateKey('//PromotionAdmin');38 nominal = helper.balance.getOneTokenNominal();38 nominal = helper.balance.getOneTokenNominal();3940 const accountBalances = new Array(100);41 accountBalances.fill(1000n);39 accounts = await helper.arrange.createCrowd(100, 1000n, donor); // create accounts-pool to speed up tests42 accounts = await helper.arrange.createAccounts(accountBalances, donor); // create accounts-pool to speed up tests40 const api = helper.getApi();43 const api = helper.getApi();41 await helper.executeExtrinsic(alice, 'api.tx.sudo.sudo', [api.tx.configuration.setAppPromotionConfigurationOverride({recalculationInterval: LOCKING_PERIOD, pendingInterval: UNLOCKING_PERIOD})], true);44 await helper.executeExtrinsic(alice, 'api.tx.sudo.sudo', [api.tx.configuration.setAppPromotionConfigurationOverride({recalculationInterval: LOCKING_PERIOD, pendingInterval: UNLOCKING_PERIOD})], true);42 });45 });