- 
                Notifications
    You must be signed in to change notification settings 
- Fork 570
Closed
Description
Right now starport module create foo --ibc in a chain like Gaia returns:
💬 To enable scaffolding of IBC modules, remove these lines from app/app.go:
ibcRouter := porttypes.NewRouter()
ibcRouter.AddRoute(ibctransfertypes.ModuleName, transferModule)
app.IBCKeeper.SetRouter(ibcRouter)
💬 Then, find the following line:
// this line is used by starport scaffolding # stargate/app/keeperDefinition
💬 Finally, add this block of code below:
ibcRouter := porttypes.NewRouter()
ibcRouter.AddRoute(ibctransfertypes.ModuleName, transferModule)
// this line is used by starport scaffolding # ibc/app/router
app.IBCKeeper.SetRouter(ibcRouter)
app.go doesn't contain the necessary placeholder to generate an IBC module
Instead, it should create x/foo and complain about placeholders.
faddat
Metadata
Metadata
Assignees
Labels
No labels