Skip to content

Commit

Permalink
chore(plugin): remove batching params type from plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Nov 29, 2024
1 parent 323f115 commit f062c65
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions plugins/indexing/batching/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f062c65

Please sign in to comment.