From f1d694ef3f58c88a0a357cd935057a92a935ba52 Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Sun, 25 Dec 2022 21:50:23 +0000 Subject: [PATCH] tests: fix vesting test Increase periods length for forkless tests --- --- a/tests/src/vesting.test.ts +++ b/tests/src/vesting.test.ts @@ -32,9 +32,9 @@ // arrange const [sender, recepient] = await helper.arrange.createAccounts([1000n, 1n], donor); const currentRelayBlock = await helper.chain.getRelayBlockNumber(); - const SCHEDULE_1_PERIOD = 4n; // 6 blocks one period + const SCHEDULE_1_PERIOD = 6n; // 6 blocks one period const SCHEDULE_1_START = currentRelayBlock + 6n; // Block when 1 schedule starts - const SCHEDULE_2_PERIOD = 8n; // 12 blocks one period + const SCHEDULE_2_PERIOD = 12n; // 12 blocks one period const SCHEDULE_2_START = currentRelayBlock + 12n; // Block when 2 schedule starts const schedule1 = {start: SCHEDULE_1_START, period: SCHEDULE_1_PERIOD, periodCount: 2n, perPeriod: 50n * nominal}; const schedule2 = {start: SCHEDULE_2_START, period: SCHEDULE_2_PERIOD, periodCount: 2n, perPeriod: 100n * nominal}; -- gitstuff