Skip to content

Commit

Permalink
increase bond amount for gov test dao members
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed Sep 19, 2023
1 parent f5e9e35 commit 57309bf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/testcases/parallel/governance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,46 +92,46 @@ describe('Neutron / Governance', () => {

describe('prepare: bond funds', () => {
test('bond form wallet 1', async () => {
await daoMember1.bondFunds('1000');
await daoMember1.bondFunds('1000000000');
await wait.getWithAttempts(
neutronChain.blockWaiter,
async () =>
await mainDao.queryVotingPower(
daoMember1.user.wallet.address.toString(),
),
async (response) => response.power == 1000,
async (response) => response.power == 1000000000,
20,
);
});
test('bond from wallet 2', async () => {
await daoMember2.bondFunds('1000');
await daoMember2.bondFunds('1000000000');
await wait.getWithAttempts(
neutronChain.blockWaiter,
async () =>
await mainDao.queryVotingPower(
daoMember1.user.wallet.address.toString(),
),
async (response) => response.power == 1000,
async (response) => response.power == 1000000000,
20,
);
});
test('bond from wallet 3 ', async () => {
await daoMember3.bondFunds('1000');
await daoMember3.bondFunds('1000000000');
await wait.getWithAttempts(
neutronChain.blockWaiter,
async () =>
await mainDao.queryVotingPower(
daoMember1.user.wallet.address.toString(),
),
async (response) => response.power == 1000,
async (response) => response.power == 1000000000,
20,
);
});
test('check voting power', async () => {
await wait.getWithAttempts(
neutronChain.blockWaiter,
async () => await mainDao.queryTotalVotingPower(),
async (response) => response.power == 3000,
async (response) => response.power == 3100000000,
20,
);
});
Expand Down

0 comments on commit 57309bf

Please sign in to comment.