From f00826dd7cec50997c955e069304704cfcb9a48b Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Mon, 16 Sep 2024 18:57:22 +0200 Subject: [PATCH] remove unused code --- x/claim/types/keys.go | 4 ---- x/fundraising/types/genesis.go | 3 --- x/fundraising/types/keys.go | 4 ---- x/mint/types/genesis.go | 3 --- x/mint/types/keys.go | 4 ---- 5 files changed, 18 deletions(-) diff --git a/x/claim/types/keys.go b/x/claim/types/keys.go index bf7db67..bd95ebf 100644 --- a/x/claim/types/keys.go +++ b/x/claim/types/keys.go @@ -16,10 +16,6 @@ const ( MemStoreKey = "mem_claim" ) -func KeyPrefix(p string) []byte { - return []byte(p) -} - var ( // ParamsKey is the prefix to retrieve all Params ParamsKey = collections.NewPrefix("p_claim") diff --git a/x/fundraising/types/genesis.go b/x/fundraising/types/genesis.go index 0ddf230..e53bddb 100644 --- a/x/fundraising/types/genesis.go +++ b/x/fundraising/types/genesis.go @@ -7,9 +7,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" ) -// DefaultIndex is the default global index -const DefaultIndex uint64 = 1 - // DefaultGenesis returns the default genesis state func DefaultGenesis() *GenesisState { return &GenesisState{ diff --git a/x/fundraising/types/keys.go b/x/fundraising/types/keys.go index 8601146..6665de4 100644 --- a/x/fundraising/types/keys.go +++ b/x/fundraising/types/keys.go @@ -13,10 +13,6 @@ const ( MemStoreKey = "mem_fundraising" ) -func KeyPrefix(p string) []byte { - return []byte(p) -} - var ( // ParamsKey is the prefix to retrieve all Params ParamsKey = collections.NewPrefix("p_fundraising") diff --git a/x/mint/types/genesis.go b/x/mint/types/genesis.go index d72f199..1826a35 100644 --- a/x/mint/types/genesis.go +++ b/x/mint/types/genesis.go @@ -1,8 +1,5 @@ package types -// DefaultIndex is the default global index -const DefaultIndex uint64 = 1 - // DefaultGenesis returns the default genesis state func DefaultGenesis() *GenesisState { return &GenesisState{ diff --git a/x/mint/types/keys.go b/x/mint/types/keys.go index 3b0dd37..db232bf 100644 --- a/x/mint/types/keys.go +++ b/x/mint/types/keys.go @@ -13,10 +13,6 @@ const ( MemStoreKey = "mem_mint" ) -func KeyPrefix(p string) []byte { - return []byte(p) -} - var ( // ParamsKey is the prefix to retrieve all Params ParamsKey = collections.NewPrefix("p_mint")