difftreelog
tests: fix vesting test
in: master
Increase periods length for forkless tests
1 file changed
tests/src/vesting.test.tsdiffbeforeafterboth32 // arrange32 // arrange33 const [sender, recepient] = await helper.arrange.createAccounts([1000n, 1n], donor);33 const [sender, recepient] = await helper.arrange.createAccounts([1000n, 1n], donor);34 const currentRelayBlock = await helper.chain.getRelayBlockNumber();34 const currentRelayBlock = await helper.chain.getRelayBlockNumber();35 const SCHEDULE_1_PERIOD = 4n; // 6 blocks one period35 const SCHEDULE_1_PERIOD = 6n; // 6 blocks one period36 const SCHEDULE_1_START = currentRelayBlock + 6n; // Block when 1 schedule starts36 const SCHEDULE_1_START = currentRelayBlock + 6n; // Block when 1 schedule starts37 const SCHEDULE_2_PERIOD = 8n; // 12 blocks one period37 const SCHEDULE_2_PERIOD = 12n; // 12 blocks one period38 const SCHEDULE_2_START = currentRelayBlock + 12n; // Block when 2 schedule starts38 const SCHEDULE_2_START = currentRelayBlock + 12n; // Block when 2 schedule starts39 const schedule1 = {start: SCHEDULE_1_START, period: SCHEDULE_1_PERIOD, periodCount: 2n, perPeriod: 50n * nominal};39 const schedule1 = {start: SCHEDULE_1_START, period: SCHEDULE_1_PERIOD, periodCount: 2n, perPeriod: 50n * nominal};40 const schedule2 = {start: SCHEDULE_2_START, period: SCHEDULE_2_PERIOD, periodCount: 2n, perPeriod: 100n * nominal};40 const schedule2 = {start: SCHEDULE_2_START, period: SCHEDULE_2_PERIOD, periodCount: 2n, perPeriod: 100n * nominal};