From c350753c1793fafad60e6f523f7f5071f3cf6c6e Mon Sep 17 00:00:00 2001 From: Deepanshu Tripathi Date: Fri, 21 Jun 2024 13:33:06 +0530 Subject: [PATCH] chore(module): sdk upgrade refactoring Signed-off-by: Deepanshu Tripathi --- helpers/module.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helpers/module.go b/helpers/module.go index 9183a1c95..0558e49cd 100644 --- a/helpers/module.go +++ b/helpers/module.go @@ -5,8 +5,9 @@ package helpers import ( "encoding/json" - sdkTypes "github.com/cosmos/cosmos-sdk/types" + + storeTypes "github.com/cosmos/cosmos-sdk/store/types" sdkModuleTypes "github.com/cosmos/cosmos-sdk/types/module" paramsTypes "github.com/cosmos/cosmos-sdk/x/params/types" ) @@ -20,7 +21,7 @@ type Module interface { DecodeModuleTransactionRequest(string, json.RawMessage) (sdkTypes.Msg, error) - Initialize(*sdkTypes.KVStoreKey, paramsTypes.Subspace, ...interface{}) Module + Initialize(*storeTypes.KVStoreKey, paramsTypes.Subspace, ...interface{}) Module GetTransactions() Transactions }