Pull out govMinDeposit

This commit is contained in:
Simon Warta 2021-07-27 17:34:48 +02:00
parent b985d384cf
commit 869ba7e23c
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,6 @@ describe("GovExtension", () => {
title: "Test Proposal",
description: "This proposal proposes to test whether this proposal passes",
});
const minDeposit = coins(10000000, "ustake");
const initialDeposit = coins(12300000, "ustake");
let proposalId: string;
@ -98,7 +97,7 @@ describe("GovExtension", () => {
expect(response).toEqual(
jasmine.objectContaining({
depositParams: {
minDeposit: minDeposit,
minDeposit: simapp.govMinDeposit,
maxDepositPeriod: {
seconds: Long.fromNumber(172800, false),
nanos: 0,

View File

@ -61,6 +61,7 @@ export const simapp = {
denomFee: "ucosm",
blockTime: 1_000, // ms
totalSupply: 21000000000, // ucosm
govMinDeposit: coins(10000000, "ustake"),
};
export const slowSimapp = {