From 34d3fbbf762ceb25fd0a5d0ddf2ae298f2553b73 Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Thu, 12 Dec 2024 23:46:34 -0300 Subject: [PATCH] remove unused replacer --- ignite/templates/typed/map/map.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ignite/templates/typed/map/map.go b/ignite/templates/typed/map/map.go index 50dc9fed2c..5b25895856 100644 --- a/ignite/templates/typed/map/map.go +++ b/ignite/templates/typed/map/map.go @@ -76,7 +76,7 @@ func NewGenerator(replacer placeholder.Replacer, opts *typed.Options) (*genny.Ge ) g.RunFn(protoRPCModify(opts)) - g.RunFn(keeperModify(replacer, opts)) + g.RunFn(keeperModify(opts)) g.RunFn(clientCliQueryModify(replacer, opts)) g.RunFn(genesisProtoModify(opts)) g.RunFn(genesisTypesModify(opts)) @@ -116,7 +116,7 @@ func NewGenerator(replacer placeholder.Replacer, opts *typed.Options) (*genny.Ge } // keeperModify modifies the keeper to add a new collections map type. -func keeperModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunFn { +func keeperModify(opts *typed.Options) genny.RunFn { return func(r *genny.Runner) error { path := filepath.Join(opts.AppPath, "x", opts.ModuleName, "keeper/keeper.go") f, err := r.Disk.Find(path)