refactor(types)!: remove handler and update docs (#17358)

This commit is contained in:
Julien Robert
2023-08-11 10:45:42 +00:00
committed by GitHub
parent 840482f50d
commit f8f4c35a9f
5 changed files with 3 additions and 13 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func NewApp(rootDir string, logger log.Logger) (servertypes.ABCI, error) {
// KVStoreHandler is a simple handler that takes KVStoreTx and writes
// them to the db.
func KVStoreHandler(storeKey storetypes.StoreKey) sdk.Handler {
func KVStoreHandler(storeKey storetypes.StoreKey) bam.MsgServiceHandler {
return func(ctx sdk.Context, msg sdk.Msg) (*sdk.Result, error) {
dTx, ok := msg.(*KVStoreTx)
if !ok {