From 787a577af63fd695f52c4c9557e1a1cf3ba991a4 Mon Sep 17 00:00:00 2001 From: avery <> Date: Tue, 26 Nov 2024 10:26:39 +0100 Subject: [PATCH] update genesis --- modules/farm/simulation/genesis.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/farm/simulation/genesis.go b/modules/farm/simulation/genesis.go index f254c344..aafee538 100644 --- a/modules/farm/simulation/genesis.go +++ b/modules/farm/simulation/genesis.go @@ -30,16 +30,12 @@ func RandomizedGenState(simState *module.SimulationState) { func(r *rand.Rand) { createPoolFee = math.NewInt(5000) }, ) - simState.AppParams.GetOrGenerate( - PoolCreationFee, &createPoolFee, simState.Rand, - func(r *rand.Rand) { taxRate = math.LegacyNewDecWithPrec(4, 1) }, - ) - simState.AppParams.GetOrGenerate( MaxRewardCategoryN, &maxRewardCategoryN, simState.Rand, func(r *rand.Rand) { maxRewardCategoryN = 2 }, ) + taxRate = math.LegacyNewDecWithPrec(4, 1) farmPoolGenesis := types.NewGenesisState( types.NewParams(sdk.NewCoin(sdk.DefaultBondDenom, createPoolFee), maxRewardCategoryN, taxRate), nil, nil, 0, nil,