Skip to content

Commit

Permalink
change(bank): remove SetSupply from keeper interface
Browse files Browse the repository at this point in the history
  • Loading branch information
fdymylja committed Feb 2, 2021
1 parent d847277 commit 7c2b2b2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions x/bank/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ type Keeper interface {
ExportGenesis(sdk.Context) *types.GenesisState

GetSupply(ctx sdk.Context) exported.SupplyI
SetSupply(ctx sdk.Context, supply exported.SupplyI)

GetDenomMetaData(ctx sdk.Context, denom string) (types.Metadata, bool)
SetDenomMetaData(ctx sdk.Context, denomMetaData types.Metadata)
Expand Down Expand Up @@ -168,11 +167,6 @@ func (k BaseKeeper) GetSupply(ctx sdk.Context) exported.SupplyI {
return supply
}

// SetSupply sets the Supply to store
func (k BaseKeeper) SetSupply(ctx sdk.Context, supply exported.SupplyI) {
k.setSupply(ctx, supply)
}

// setSupply sets the Supply to store
func (k BaseKeeper) setSupply(ctx sdk.Context, supply exported.SupplyI) {
store := ctx.KVStore(k.storeKey)
Expand Down

0 comments on commit 7c2b2b2

Please sign in to comment.