Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei1997 committed Jul 29, 2024
1 parent cdc8984 commit 78b3acb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/wasm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ func (k Keeper) GetParams(ctx sdk.Context) types.Params {
}

func (k Keeper) SetParams(ctx sdk.Context, ps types.Params) {
fmt.Println("In x/wasm, keeper: trying to set params = ", ps)
k.paramSpace.SetParamSet(ctx, &ps)
}

Expand Down Expand Up @@ -1008,7 +1007,6 @@ func (k Keeper) PeekAutoIncrementID(ctx sdk.Context, lastIDKey []byte) uint64 {

func (k Keeper) importAutoIncrementID(ctx sdk.Context, lastIDKey []byte, val uint64) error {
store := ctx.KVStore(k.storeKey)
fmt.Println("lastIDKey = ", string(lastIDKey))
if store.Has(lastIDKey) {
return sdkerrors.Wrapf(types.ErrDuplicate, "autoincrement id: %s", string(lastIDKey))
}
Expand Down

0 comments on commit 78b3acb

Please sign in to comment.