From f062c65dc3ea20f2f8689f210ad2ca7fc88b4daf Mon Sep 17 00:00:00 2001 From: hacheigriega Date: Fri, 29 Nov 2024 05:41:43 -0500 Subject: [PATCH] chore(plugin): remove batching params type from plugin --- plugins/indexing/batching/module.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/plugins/indexing/batching/module.go b/plugins/indexing/batching/module.go index fdbc513b..2a0fa2d5 100644 --- a/plugins/indexing/batching/module.go +++ b/plugins/indexing/batching/module.go @@ -155,21 +155,6 @@ func ExtractUpdate(ctx *types.BlockContext, cdc codec.Codec, logger *log.Logger, } return types.NewMessage("batch-validator-entry", data, ctx), nil - } else if _, found := bytes.CutPrefix(change.Key, batchingtypes.ParamsKey); found { - val, err := codec.CollValue[batchingtypes.Params](cdc).Decode(change.Value) - if err != nil { - return nil, err - } - - data := struct { - ModuleName string `json:"moduleName"` - Params batchingtypes.Params `json:"params"` - }{ - ModuleName: "batching", - Params: val, - } - - return types.NewMessage("module-params", data, ctx), nil } logger.Trace("skipping change", "change", change)