From 685bb1c38bf568a8e40ecb183beceb0971e94425 Mon Sep 17 00:00:00 2001 From: Deepanshu Tripathi Date: Mon, 2 Sep 2024 13:02:34 +0530 Subject: [PATCH] retiring(module): decode module transaction request, used for wasm Signed-off-by: Deepanshu Tripathi --- helpers/module.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/helpers/module.go b/helpers/module.go index ccc779c83..fd11c7598 100644 --- a/helpers/module.go +++ b/helpers/module.go @@ -4,14 +4,11 @@ package helpers import ( - "encoding/json" "github.com/cosmos/cosmos-sdk/client" - sdkTypes "github.com/cosmos/cosmos-sdk/types" - "github.com/gorilla/mux" - 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" + "github.com/gorilla/mux" ) type Module interface { @@ -29,8 +26,6 @@ type Module interface { GetAuxiliary(string) Auxiliary - DecodeModuleTransactionRequest(string, json.RawMessage) (sdkTypes.Msg, error) - Initialize(*storeTypes.KVStoreKey, paramsTypes.Subspace, ...interface{}) Module GetTransactions() Transactions