git.delta.rocks / unique-network / refs/commits / 52ec766df329

difftreelog

fix(test) createCollection now fully uses privateKeyWrapper

Fahrrader2022-06-09parent: #7d6a2f5.patch.diff
in: master

1 file changed

modifiedtests/src/createCollection.test.tsdiffbeforeafterboth
89 });89 });
9090
91 it('New collection is not external', async () => {91 it('New collection is not external', async () => {
92 await usingApi(async api => {92 await usingApi(async (api, privateKeyWrapper) => {
93 const alice = privateKey('//Alice');93 const alice = privateKeyWrapper('//Alice');
94 const tx = api.tx.unique.createCollectionEx({ });94 const tx = api.tx.unique.createCollectionEx({ });
95 const events = await submitTransactionAsync(alice, tx);95 const events = await submitTransactionAsync(alice, tx);
96 const result = getCreateCollectionResult(events);96 const result = getCreateCollectionResult(events);