--- a/tests/src/migrations/942057-appPromotion/correctStateAfterMaintenance.ts +++ b/tests/src/migrations/942057-appPromotion/correctStateAfterMaintenance.ts @@ -49,6 +49,7 @@ const failedBlocks: bigint[] = []; let isSuccess = true; + await helper.wait.newBlocks(1); for(const b of filteredBlocks) { if(((await api.query.appPromotion.pendingUnstake(b)).toJSON() as any[]).length != 0) {