Skip to content

Commit

Permalink
fix(templates): fix genesis export for ibc modules (#3867)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Dec 27, 2023
1 parent 4bb56d0 commit aa26def
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixes

- [#3867](https://github.com/ignite/cli/pull/3867) Fix genesis export for ibc modules.

## [`v28.1.0`](https://github.com/ignite/cli/releases/tag/v28.1.0)

### Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ func NewRootCmd() *cobra.Command {
// manually register the modules on the client side.
// This needs to be removed after IBC supports App Wiring.
ibcModules := app.RegisterIBC(clientCtx.InterfaceRegistry)
for name, module := range ibcModules {
autoCliOpts.Modules[name] = module
for name, mod := range ibcModules {
moduleBasicManager[name] = module.CoreAppModuleBasicAdaptor(name, mod)
autoCliOpts.Modules[name] = mod
}
initRootCmd(rootCmd, clientCtx.TxConfig, clientCtx.InterfaceRegistry, clientCtx.Codec, moduleBasicManager)

Expand Down

0 comments on commit aa26def

Please sign in to comment.