Skip to content

Commit

Permalink
Merge pull request #327 from lavanet/CNS-305-add-cantos-spec
Browse files Browse the repository at this point in the history
CNS-305-added canto spec
  • Loading branch information
Yaroms authored Feb 27, 2023
2 parents e798667 + 48f8ef7 commit cf7f80a
Show file tree
Hide file tree
Showing 6 changed files with 1,397 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ var Upgrades = []upgrades.Upgrade{
upgrades.Upgrade_0_6_0,
upgrades.Upgrade_0_6_0_RC3,
upgrades.Upgrade_0_6_1,
upgrades.Upgrade_0_6_2,
}

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals
Expand Down
10 changes: 10 additions & 0 deletions app/upgrades/empty_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,13 @@ var Upgrade_0_6_1 = Upgrade{
}, // create CreateUpgradeHandler in upgrades.go below
StoreUpgrades: store.StoreUpgrades{}, // StoreUpgrades has 3 fields: Added/Renamed/Deleted any module that fits these description should be added in the way below
}

var Upgrade_0_6_2 = Upgrade{
UpgradeName: "v0.6.2", // upgrade name defined few lines above
CreateUpgradeHandler: func(m *module.Manager, c module.Configurator, bapm BaseAppParamManager, lk *keepers.LavaKeepers) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
return m.RunMigrations(ctx, c, vm)
}
}, // create CreateUpgradeHandler in upgrades.go below
StoreUpgrades: store.StoreUpgrades{}, // StoreUpgrades has 3 fields: Added/Renamed/Deleted any module that fits these description should be added in the way below
}
Loading

0 comments on commit cf7f80a

Please sign in to comment.