From a15d1fdd7229cc30b9f514aa8e2eea17c3d7d5db Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Thu, 15 Aug 2024 01:59:27 +0200 Subject: [PATCH] fix wrong seq name --- ignite/templates/typed/list/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ignite/templates/typed/list/list.go b/ignite/templates/typed/list/list.go index a176224ca3..7560e2d2dd 100644 --- a/ignite/templates/typed/list/list.go +++ b/ignite/templates/typed/list/list.go @@ -325,8 +325,8 @@ func keeperModify(replacer placeholder.Replacer, opts *typed.Options) genny.RunF ) content := replacer.Replace(f.String(), typed.PlaceholderCollectionType, replacementModuleType) - templateKeeperInstantiate := `%[2]vSeq: collections.NewSequence(sb, types.%[2]vCountKey, "%[3]v"), - %[2]v: collections.NewMap(sb, types.%[2]vKey, "%[3]v_seq", collections.Uint64Key, codec.CollValue[types.%[2]v](cdc)), + templateKeeperInstantiate := `%[2]vSeq: collections.NewSequence(sb, types.%[2]vCountKey, "%[3]v_seq"), + %[2]v: collections.NewMap(sb, types.%[2]vKey, "%[3]v", collections.Uint64Key, codec.CollValue[types.%[2]v](cdc)), %[1]v` replacementInstantiate := fmt.Sprintf( templateKeeperInstantiate,