From 81599e75ace2b92a9e9ff1cacbdd0a4b3bf4b179 Mon Sep 17 00:00:00 2001 From: Hussein Ait Lahcen Date: Thu, 2 Nov 2023 15:09:31 +0100 Subject: [PATCH] feat(union): register ibc-wasm snapshotter --- uniond/app/app.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/uniond/app/app.go b/uniond/app/app.go index 6486daf751..764259adce 100644 --- a/uniond/app/app.go +++ b/uniond/app/app.go @@ -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)) } }