Skip to content

Commit

Permalink
v0.97a
Browse files Browse the repository at this point in the history
  • Loading branch information
oxygene76 committed Sep 25, 2023
1 parent 99d5140 commit 6d3a54e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,8 @@ import (

const (
AccountAddressPrefix = "medas"
<<<<<<< HEAD
UpgradeName = "v0.97a"
Name = "medasdigital"
=======
Name = "medasdigital"
UpgradeName = "v0.97"
>>>>>>> 387057be364cf7a7b6bc74f2cca7e3494c3b4a97
)

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals
Expand Down Expand Up @@ -722,8 +717,6 @@ func New(
app.SetBeginBlocker(app.BeginBlocker)
app.SetEndBlocker(app.EndBlocker)

<<<<<<< HEAD
=======
// if manager := app.SnapshotManager(); manager != nil {
// err = manager.RegisterExtensions(
// wasmkeeper.NewWasmSnapshotter(app.CommitMultiStore(), &app.wasmKeeper),
Expand All @@ -733,7 +726,6 @@ func New(
// }
//}

>>>>>>> 387057be364cf7a7b6bc74f2cca7e3494c3b4a97
upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()
if err != nil {
panic(err)
Expand All @@ -746,10 +738,6 @@ func New(
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
}

<<<<<<< HEAD

=======
>>>>>>> 387057be364cf7a7b6bc74f2cca7e3494c3b4a97
if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
tmos.Exit(err.Error())
Expand Down Expand Up @@ -923,21 +911,13 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
return paramsKeeper
}

<<<<<<< HEAD

=======
>>>>>>> 387057be364cf7a7b6bc74f2cca7e3494c3b4a97
// RegisterUpgradeHandlers returns upgrade handlers
func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) {
app.UpgradeKeeper.SetUpgradeHandler(UpgradeName, func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
return app.mm.RunMigrations(ctx, cfg, vm)
})
}

<<<<<<< HEAD

=======
>>>>>>> 387057be364cf7a7b6bc74f2cca7e3494c3b4a97
// SimulationManager implements the SimulationApp interface
func (app *App) SimulationManager() *module.SimulationManager {
return app.sm
Expand Down

0 comments on commit 6d3a54e

Please sign in to comment.