Skip to content

Commit

Permalink
chore(module): sdk upgrade refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Deepanshu Tripathi <[email protected]>
  • Loading branch information
deepanshutr committed Jun 21, 2024
1 parent a7aa54f commit c350753
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions helpers/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand All @@ -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
}

0 comments on commit c350753

Please sign in to comment.