Skip to content

Commit

Permalink
hook it up
Browse files Browse the repository at this point in the history
  • Loading branch information
fish-sammy committed Sep 27, 2023
1 parent 3876987 commit 358372f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ func NewAxelarApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest
scopedWasmK := app.capabilityKeeper.ScopeToModule(wasm.ModuleName)
// The last arguments can contain custom message handlers, and custom query handlers,
// if we want to allow any custom callbacks
wasmOpts = append(wasmOpts, wasmkeeper.WithMessageHandlerDecorator(func(old wasmkeeper.Messenger) wasmkeeper.Messenger {
return wasmkeeper.NewMessageHandlerChain(old, nexusKeeper.NewMessenger(nexusK))
}))
wasmK = wasm.NewKeeper(
appCodec,
keys[wasm.StoreKey],
Expand Down

0 comments on commit 358372f

Please sign in to comment.