From 9352eae921fbc3ec401da56e0b6d457f9b3fe933 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Wed, 07 Jun 2023 07:55:15 +0000 Subject: [PATCH] Revert "test: ensure transfers are disabled during MM" This reverts commit 59b04441b9eb96c9dc49a6ef69b62ca21b0ffd32. --- --- a/tests/src/maintenance.seqtest.ts +++ b/tests/src/maintenance.seqtest.ts @@ -159,8 +159,8 @@ // RPCs work while in maintenance expect(await helper.collection.getTotalCount()).to.be.deep.equal(totalCount); - // Transfers are disabled during MM - await expect(helper.balance.transferToSubstrate(bob, superuser.address, 1n)).to.be.rejected; + // We still able to transfer funds + await expect(helper.balance.transferToSubstrate(bob, superuser.address, 1n)).to.be.fulfilled; await helper.getSudo().executeExtrinsic(superuser, 'api.tx.maintenance.disable', []); expect(await maintenanceEnabled(helper.getApi()), 'MM is ON when it should be OFF').to.be.false; -- gitstuff