Skip to content

Commit

Permalink
pretty append
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Feb 9, 2024
1 parent 0c9f907 commit f164e8b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ func NewApp(
tokenFactoryCapabilities,
govModAddress,
)
wasmOpts = append(wasmOpts, bindings.RegisterCustomPlugins(app.BankKeeper, &app.TokenFactoryKeeper)...)

// IBC Fee Module keeper
app.IBCFeeKeeper = ibcfeekeeper.NewKeeper(
Expand Down Expand Up @@ -605,10 +606,6 @@ func NewApp(
panic(fmt.Sprintf("error while reading wasm config: %s", err))
}

// Move custom query of token factory to stargate, still use custom msg which is tfOpts[1]
tfOpts := bindings.RegisterCustomPlugins(app.BankKeeper, &app.TokenFactoryKeeper)
wasmOpts = append(wasmOpts, tfOpts...)

// The last arguments can contain custom message handlers, and custom query handlers,
// if we want to allow any custom callbacks
// availableCapabilities := strings.Join(AllCapabilities(), ",")
Expand Down

0 comments on commit f164e8b

Please sign in to comment.