From 9f29420020bc4c054bd201fe5f7fc8061db38a20 Mon Sep 17 00:00:00 2001 From: Roshan Date: Thu, 5 Jan 2023 10:33:22 +0800 Subject: [PATCH] fix test case --- x/gashub/simulation/params.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/x/gashub/simulation/params.go b/x/gashub/simulation/params.go index 03d04e5d52..76d0e6d211 100644 --- a/x/gashub/simulation/params.go +++ b/x/gashub/simulation/params.go @@ -11,15 +11,11 @@ import ( "github.com/cosmos/cosmos-sdk/x/simulation" ) -const ( - keyMsgSendGas = "MsgSendGas" -) - // ParamChanges defines the parameters that can be modified by param change proposals // on the simulation func ParamChanges(r *rand.Rand) []simtypes.ParamChange { return []simtypes.ParamChange{ - simulation.NewSimParamChange(types.ModuleName, keyMsgSendGas, + simulation.NewSimParamChange(types.ModuleName, string(types.KeyMsgSendGas), func(r *rand.Rand) string { return fmt.Sprintf("%d", GenMsgGas(r)) },