From 9a566c44e96f043a32ad0d17ca85b20485536550 Mon Sep 17 00:00:00 2001 From: Albert Andrejev Date: Wed, 21 Feb 2024 19:58:39 +0200 Subject: [PATCH] fix test --- .../src/testcases/validator-set.test.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/integration_tests/src/testcases/validator-set.test.ts b/integration_tests/src/testcases/validator-set.test.ts index 1ad81c7d..e7c0402c 100644 --- a/integration_tests/src/testcases/validator-set.test.ts +++ b/integration_tests/src/testcases/validator-set.test.ts @@ -111,6 +111,9 @@ describe('Validator set', () => { uptime: '0', tombstone: false, jailed_number: null, + init_proposal: null, + total_passed_proposals: 0, + total_voted_proposals: 0, }, ]), ); @@ -150,6 +153,9 @@ describe('Validator set', () => { uptime: '0', tombstone: false, jailed_number: null, + init_proposal: null, + total_passed_proposals: 0, + total_voted_proposals: 0, }, { valoper_address: 'valoper3', @@ -161,6 +167,9 @@ describe('Validator set', () => { uptime: '0', tombstone: false, jailed_number: null, + init_proposal: null, + total_passed_proposals: 0, + total_voted_proposals: 0, }, ]), ); @@ -168,7 +177,7 @@ describe('Validator set', () => { it('Update validator info', async () => { const { contractClient, account } = context; - const res = await contractClient.updateValidatorInfo( + const res = await contractClient.updateValidatorsInfo( account.address, { validators: [ @@ -208,6 +217,9 @@ describe('Validator set', () => { uptime: '0.5', tombstone: true, jailed_number: 1, + init_proposal: null, + total_passed_proposals: 0, + total_voted_proposals: 0, }, { valoper_address: 'valoper3', @@ -219,6 +231,9 @@ describe('Validator set', () => { uptime: '0.96', tombstone: false, jailed_number: 3, + init_proposal: null, + total_passed_proposals: 0, + total_voted_proposals: 0, }, ]), );