From 3af98f496bbcd372b2f79b617bb27f861a817abb Mon Sep 17 00:00:00 2001 From: Thomas Bruyelle Date: Mon, 26 Feb 2024 10:46:39 +0100 Subject: [PATCH] replace latest x/gov --- database/gov_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/gov_test.go b/database/gov_test.go index 6661a1583..89b54d6d0 100644 --- a/database/gov_test.go +++ b/database/gov_test.go @@ -13,13 +13,13 @@ import ( "github.com/forbole/bdjuno/v4/types" sdk "github.com/cosmos/cosmos-sdk/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + govtypes "github.com/atomone-hub/govgen/x/gov/types" dbtypes "github.com/forbole/bdjuno/v4/database/types" ) func (suite *DbTestSuite) TestBigDipperDb_SaveGovParams() { - votingParams := govtypes.NewVotingParams(time.Second * 10) + votingParams := govtypes.NewVotingParams(time.Second*10, time.Second*10, time.Second*10, time.Second*10) tallyParams := govtypes.NewTallyParams(sdk.NewDec(10), sdk.NewDec(10), sdk.NewDec(10)) depositParams := govtypes.NewDepositParams(sdk.NewCoins(sdk.NewCoin("uatom", sdk.NewInt(10))), time.Minute*5) original := types.NewGovParams(types.NewVotingParams(votingParams), types.NewDepositParam(depositParams), types.NewTallyParams(tallyParams), 10)