From 3a77b329127f72d76f6b6c02fd7efa855ca72768 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar <57705190+avkr003@users.noreply.github.com> Date: Mon, 2 Sep 2024 23:22:16 +0530 Subject: [PATCH] updated hard-coded protocol revenue address to function derived address (#763) Co-authored-by: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> --- 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(), ) }