Skip to content

Commit

Permalink
feat(union): register ibc-wasm snapshotter
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Nov 2, 2023
1 parent d9522dc commit 81599e7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion uniond/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,14 @@ func New(
wasmkeeper.NewWasmSnapshotter(app.CommitMultiStore(), &app.WasmKeeper),
)
if err != nil {
panic(fmt.Errorf("failed to register snapshot extension: %s", err))
panic(fmt.Errorf("failed to register wasm snapshot extension: %s", err))
}

err = manager.RegisterExtensions(
ibcwasmkeeper.NewWasmSnapshotter(app.CommitMultiStore(), &app.WasmClientKeeper),
)
if err != nil {
panic(fmt.Errorf("failed to register ibc-wasm snapshot extension: %s", err))
}
}

Expand Down

0 comments on commit 81599e7

Please sign in to comment.