Skip to content

Commit

Permalink
fix miss icqtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Dec 28, 2023
1 parent 7ce560a commit 75877b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
14 changes: 6 additions & 8 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ type MigalooApp struct {
configurator module.Configurator
}

func (app *MigalooApp) Close() error {
//TODO implement me
panic("implement me")
}

func (app *MigalooApp) RegisterNodeService(clientCtx client.Context) {
nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter())
}
Expand Down Expand Up @@ -447,14 +452,6 @@ func NewMigalooApp(
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)

app.TokenFactoryKeeper = tokenfactorykeeper.NewKeeper(
keys[tokenfactorytypes.StoreKey],
app.GetSubspace(tokenfactorytypes.ModuleName),
app.AccountKeeper,
app.BankKeeper,
app.DistrKeeper,
)

app.CrisisKeeper = *crisiskeeper.NewKeeper(
appCodec,
keys[crisistypes.StoreKey],
Expand Down Expand Up @@ -1136,6 +1133,7 @@ func (app *MigalooApp) setupUpgradeHandlers(cfg module.Configurator) {
Added: []string{
consensusparamtypes.StoreKey,
crisistypes.StoreKey,
icqtypes.StoreKey,
},
Deleted: []string{
"intertx",
Expand Down
6 changes: 0 additions & 6 deletions cmd/migalood/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,5 @@ func (a appCreator) appExport(
emptyWasmOpts,
)

if height != -1 {
if err := migalooApp.LoadHeight(height); err != nil {
return servertypes.ExportedApp{}, err
}
}

return migalooApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs, modulesToExport)
}

0 comments on commit 75877b4

Please sign in to comment.