From 639d39f25768d37774a7c1197a43e40fd11879b2 Mon Sep 17 00:00:00 2001 From: sotnikov-s Date: Wed, 20 Sep 2023 14:32:56 +0300 Subject: [PATCH] decrease bond amount for dao members --- src/testcases/parallel/governance.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/testcases/parallel/governance.test.ts b/src/testcases/parallel/governance.test.ts index 417a3a94..8cd74939 100644 --- a/src/testcases/parallel/governance.test.ts +++ b/src/testcases/parallel/governance.test.ts @@ -92,38 +92,38 @@ describe('Neutron / Governance', () => { describe('prepare: bond funds', () => { test('bond form wallet 1', async () => { - await daoMember1.bondFunds('1000000000'); + await daoMember1.bondFunds('10000'); await wait.getWithAttempts( neutronChain.blockWaiter, async () => await mainDao.queryVotingPower( daoMember1.user.wallet.address.toString(), ), - async (response) => response.power == 1000000000, + async (response) => response.power == 10000, 20, ); }); test('bond from wallet 2', async () => { - await daoMember2.bondFunds('1000000000'); + await daoMember2.bondFunds('10000'); await wait.getWithAttempts( neutronChain.blockWaiter, async () => await mainDao.queryVotingPower( daoMember1.user.wallet.address.toString(), ), - async (response) => response.power == 1000000000, + async (response) => response.power == 10000, 20, ); }); test('bond from wallet 3 ', async () => { - await daoMember3.bondFunds('1000000000'); + await daoMember3.bondFunds('10000'); await wait.getWithAttempts( neutronChain.blockWaiter, async () => await mainDao.queryVotingPower( daoMember1.user.wallet.address.toString(), ), - async (response) => response.power == 1000000000, + async (response) => response.power == 10000, 20, ); }); @@ -131,8 +131,8 @@ describe('Neutron / Governance', () => { await wait.getWithAttempts( neutronChain.blockWaiter, async () => await mainDao.queryTotalVotingPower(), - // 3x1000000000 + 100000000 from investors vault (see neutron/network/init-neutrond.sh) - async (response) => response.power == 3100000000, + // 3x10000 + 1000 from investors vault (see neutron/network/init-neutrond.sh) + async (response) => response.power == 31000, 20, ); });