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 %>")