From 4953bf74df01713d1d9d8395c1e1ec56786d6c24 Mon Sep 17 00:00:00 2001 From: avkr003 Date: Mon, 2 Sep 2024 17:04:29 +0530 Subject: [PATCH] updated hard-coded protocol revenue address to function derived address --- x/masterchef/types/params.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x/masterchef/types/params.go b/x/masterchef/types/params.go index 7b542249b..501af56a8 100644 --- a/x/masterchef/types/params.go +++ b/x/masterchef/types/params.go @@ -1,9 +1,11 @@ package types import ( - fmt "fmt" + "fmt" sdk "github.com/cosmos/cosmos-sdk/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "gopkg.in/yaml.v2" ) @@ -32,7 +34,7 @@ func DefaultParams() Params { sdk.NewDecWithPrec(60, 2), sdk.NewDecWithPrec(25, 2), sdk.NewDecWithPrec(5, 1), - "elys10d07y265gmmuvt4z0w9aw880jnsr700j6z2zm3", + authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) }