diff --git a/contract/test/test-vote-by-committee.js b/contract/test/test-vote-by-committee.js index 9d904d33..48f36efe 100644 --- a/contract/test/test-vote-by-committee.js +++ b/contract/test/test-vote-by-committee.js @@ -252,7 +252,7 @@ test.serial('vote to change swap fee', async t => { const before = await E(swapPub).getAmount('Fee'); t.deepEqual(before, IST(1n, 1_000_000n)); - const deadline = 2n; + const deadline = BigInt(new Date(2024, 6, 1, 9, 10).valueOf() / 1000); const result = await victor.putQuestion('proposeToSetFee', changes, deadline); t.log('question is posed', result); @@ -264,7 +264,7 @@ test.serial('vote to change swap fee', async t => { t.log('victor voted:', voteResult); const timer = details.closingRule.timer; - await E(timer).tickN(3); + await E(timer).tickN(11); // TODO: .latestOutcome from vstorage const counterHandle = await E(