difftreelog
fix test helpers after type regen
in: master
1 file changed
tests/src/util/helpers.tsdiffbeforeafterboth1024 expectedBlockNumber, 1024 expectedBlockNumber, 1025 repetitions > 1 ? [period, repetitions] : null, 1025 repetitions > 1 ? [period, repetitions] : null, 1026 0, 1026 0, 1027 {value: operationTx as any},1027 {Value: operationTx as any},1028 );1028 );102910291030 const events = await submitTransactionAsync(sender, scheduleTx);1030 const events = await submitTransactionAsync(sender, scheduleTx);1051 expectedBlockNumber, 1051 expectedBlockNumber, 1052 repetitions <= 1 ? null : [period, repetitions], 1052 repetitions <= 1 ? null : [period, repetitions], 1053 0, 1053 0, 1054 {value: operationTx as any},1054 {Value: operationTx as any},1055 );1055 );105610561057 //const events = 1057 //const events = 138013801381 let tx;1381 let tx;1382 if (createMode === 'NFT') {1382 if (createMode === 'NFT') {1383 const data = api.createType('UpDataStructsCreateItemData', {NFT: {properties: props}});1383 const data = api.createType('UpDataStructsCreateItemData', {NFT: {properties: props}}) as UpDataStructsCreateItemData;1384 tx = api.tx.unique.createItem(collectionId, normalizeAccountId(owner), data);1384 tx = api.tx.unique.createItem(collectionId, normalizeAccountId(owner), data);1385 } else {1385 } else {1386 tx = api.tx.unique.createItem(collectionId, normalizeAccountId(owner), createMode);1386 tx = api.tx.unique.createItem(collectionId, normalizeAccountId(owner), createMode);