Skip to content

Commit

Permalink
clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luckychess committed Nov 28, 2024
1 parent 1a562fc commit 22a2a84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,6 @@ func New(
scopedGmpKeeper := app.CapabilityKeeper.ScopeToModule(gmpmoduletypes.ModuleName)
app.ScopedGmpKeeper = scopedGmpKeeper

fmt.Printf("app.go: before NewKeeper: store key: %+v\n", keys[gmpmoduletypes.StoreKey])

app.GmpKeeper = *gmpmodulekeeper.NewKeeper(
appCodec,
keys[gmpmoduletypes.StoreKey],
Expand All @@ -773,7 +771,6 @@ func New(
scopedGmpKeeper,
app.TransferKeeper,
)
fmt.Printf("app.go: after NewKeeper: store key: %+v\n", app.GmpKeeper)
gmpModule := gmpmodule.NewAppModule(appCodec, app.GmpKeeper, app.AccountKeeper, app.BankKeeper)
transferIBCModule = gmpmodule.NewIBCModule(app.GmpKeeper, transferIBCModule)

Expand Down
6 changes: 1 addition & 5 deletions x/gmp/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ func NewKeeper(
ps = ps.WithKeyTable(types.ParamKeyTable())
}

fmt.Printf("NewKeeper: store key: %+v\n", storeKey)

keeper := &Keeper{
return &Keeper{
cdc: cdc,
storeKey: storeKey,
memKey: memKey,
Expand All @@ -63,8 +61,6 @@ func NewKeeper(
scopedKeeper: scopedKeeper,
ibcKeeper: ibcKeeper,
}
fmt.Printf("NewKeeper: store key: %+v, keeper address: %p\n", keeper.storeKey, keeper)
return keeper
}

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit 22a2a84

Please sign in to comment.