Change order of withdrawals
@@ -84,12 +84,6 @@ describe(`ZkSync integration tests (token: ${token}, transport: ${transport})`,
await tester.testChangePubKey(alice, token, true);
});
- step('should register factory and withdraw nft', async () => {
- if (onlyBasic) {
- return;
- }
- await tester.testRegisterFactory(alice, token);
- });
step('should execute a transfer to new account', async () => {
await tester.testTransfer(alice, chuck, token, TX_AMOUNT);
@@ -192,6 +186,13 @@ describe(`ZkSync integration tests (token: ${token}, transport: ${transport})`,
await tester.testVerifiedForcedExit(alice, bob, token);
});
+ step('should register factory and withdraw nft', async () => {
+ if (onlyBasic) {
+ return;
+ }
+ await tester.testRegisterFactory(alice, token);
+ });
+
it('should check collected fees', async () => {
const collectedFee = (await tester.operatorBalance(token)).sub(operatorBalance);
expect(collectedFee.eq(tester.runningFee), `Fee collection failed, expected: ${tester.runningFee.toString()}, got: ${collectedFee.toString()}`).to.be.true;
