Skip to content

Commit

Permalink
statesync fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vuong177 committed Oct 16, 2023
1 parent 7b6f22c commit 390a6a7
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 @@ -13,6 +13,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/consensus"
tendermint "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint"
wasm08 "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm"
wasm08keeper "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/keeper"

wasm08types "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types"

"github.com/cosmos/cosmos-sdk/baseapp"
Expand Down Expand Up @@ -539,6 +541,7 @@ func NewCentauriApp(
if manager := app.SnapshotManager(); manager != nil {
err := manager.RegisterExtensions(
wasmkeeper.NewWasmSnapshotter(app.CommitMultiStore(), &app.WasmKeeper),
wasm08keeper.NewWasmSnapshotter(app.CommitMultiStore(), &app.Wasm08Keeper),
)
if err != nil {
panic(fmt.Errorf("failed to register snapshot extension: %s", err))
Expand Down

0 comments on commit 390a6a7

Please sign in to comment.