Skip to content

Commit

Permalink
tests: fix vesting test
Browse files Browse the repository at this point in the history
Increase periods length for forkless tests
  • Loading branch information
Maksandre authored and CertainLach committed Dec 26, 2022
1 parent e42f99d commit f1d694e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/vesting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ describe('Vesting', () => {
// 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};
Expand Down

0 comments on commit f1d694e

Please sign in to comment.