Skip to content

Commit

Permalink
improve template comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored and Pantani committed Nov 22, 2023
1 parent 0ef8c7c commit 0dba5f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ignite/templates/app/files/app/app.go.plush
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@ func New(
appConfig = depinject.Configs(
AppConfig(),
depinject.Supply(
// supply the application options
// Supply the application options
appOpts,
// Supply with IBC keeper getter for the IBC modules with App Wiring.
// The IBC Keeper cannot be passed because it has not been initiated yet.
// Passing the getter, the app IBC Keeper will always be accessible.
// This needs to be removed after IBC supported App Wiring.
// This needs to be removed after IBC supports App Wiring.
app.GetIBCKeeper,
app.GetCapabilityScopedKeeper,
// supply the logger
// Supply the logger
logger,

// ADVANCED CONFIGURATION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ func NewRootCmd() *cobra.Command {
); err != nil {
panic(err)
}
// Since the IBC modules don't support dependency injection, we need to
// manually add the modules to the basic manager on the client side.
// This needs to be removed after IBC supports App Wiring.
app.AddIBCModuleManager(moduleBasicManager)

rootCmd := &cobra.Command{
Expand Down

0 comments on commit 0dba5f1

Please sign in to comment.