From a91f0d5dce9e9de05b6748c6fa618643f482f2c3 Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Mon, 16 Sep 2024 18:50:16 +0200 Subject: [PATCH] remove unused key to bytes method --- .../files/base/x/{{moduleName}}/types/keys.go.plush | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ignite/templates/module/create/files/base/x/{{moduleName}}/types/keys.go.plush b/ignite/templates/module/create/files/base/x/{{moduleName}}/types/keys.go.plush index 8cffd96e7d..3398f3ee49 100644 --- a/ignite/templates/module/create/files/base/x/{{moduleName}}/types/keys.go.plush +++ b/ignite/templates/module/create/files/base/x/{{moduleName}}/types/keys.go.plush @@ -15,12 +15,7 @@ const ( <%= if (isIBC) { %>// this line is used by starport scaffolding # ibc/keys/name<% } %> ) -var ( - ParamsKey = collections.NewPrefix("p_<%= moduleName %>") -) - <%= if (isIBC) { %>// this line is used by starport scaffolding # ibc/keys/port<% } %> -func KeyPrefix(p string) []byte { - return []byte(p) -} \ No newline at end of file +// ParamsKey is the prefix to retrieve all Params +var ParamsKey = collections.NewPrefix("p_<%= moduleName %>")