git.delta.rocks / unique-network / refs/commits / e38520f684ae

difftreelog

test(app-promo) added 1 block

PraetorP2023-06-09parent: #078a748.patch.diff
in: master

1 file changed

modifiedtests/src/migrations/942057-appPromotion/correctStateAfterMaintenance.tsdiffbeforeafterboth
4949
50 const failedBlocks: bigint[] = [];50 const failedBlocks: bigint[] = [];
51 let isSuccess = true;51 let isSuccess = true;
52 await helper.wait.newBlocks(1);
5253
53 for(const b of filteredBlocks) {54 for(const b of filteredBlocks) {
54 if(((await api.query.appPromotion.pendingUnstake(b)).toJSON() as any[]).length != 0) {55 if(((await api.query.appPromotion.pendingUnstake(b)).toJSON() as any[]).length != 0) {