Skip to content

Commit

Permalink
more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luckychess committed Nov 28, 2024
1 parent 9c48992 commit 7208655
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ func New(

scopedGmpKeeper := app.CapabilityKeeper.ScopeToModule(gmpmoduletypes.ModuleName)
app.ScopedGmpKeeper = scopedGmpKeeper

fmt.Printf("gmpmodulekeeper.NewKeeper: store key: %+v", keys[gmpmoduletypes.StoreKey])
fmt.Printf("gmpmodulekeeper.NewKeeper: mem key: %+v", keys[gmpmoduletypes.MemStoreKey])

app.GmpKeeper = *gmpmodulekeeper.NewKeeper(
appCodec,
keys[gmpmoduletypes.StoreKey],
Expand Down
3 changes: 3 additions & 0 deletions x/gmp/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ func NewKeeper(
ps = ps.WithKeyTable(types.ParamKeyTable())
}

fmt.Printf("NewKeeper: store key: %+v", storeKey)
fmt.Printf("NewKeeper: mem key: %+v", memKey)

return &Keeper{
cdc: cdc,
storeKey: storeKey,
Expand Down

0 comments on commit 7208655

Please sign in to comment.