diff --git a/app/upgrades.go b/app/upgrades.go index 7f2c6d81be..09843fc663 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -344,10 +344,11 @@ func updateMaxSupply(ctx sdk.Context, app *App) { ctx.Logger().Info("Done updating MaxSupply marker param") } -// addMarkerNavs adds navs to existing markers +// addMarkerNavs adds navs to existing markers with default value of 15 cents +// TODO: Need to get a list of current markers and their values to set as a manual script func addMarkerNavs(ctx sdk.Context, app *App) { ctx.Logger().Info("Adding marker net asset values") - //TODO: Add list of actual net asset values to set (need to get from Figure) + //TODO: Add list of actual net asset values to set here app.MarkerKeeper.IterateMarkers(ctx, func(record markertypes.MarkerAccountI) bool { var hasNav bool diff --git a/app/upgrades_test.go b/app/upgrades_test.go index 769330a3b9..1c8e0d042c 100644 --- a/app/upgrades_test.go +++ b/app/upgrades_test.go @@ -426,6 +426,8 @@ func (s *UpgradeTestSuite) TestSaffronRC1() { "INF Done updating ICQ params", "INF Updating MaxSupply marker param", "INF Done updating MaxSupply marker param", + "INF Adding marker net asset values", + "INF Done adding marker net asset values", } s.AssertUpgradeHandlerLogs("saffron-rc1", expInLog, nil) @@ -442,6 +444,8 @@ func (s *UpgradeTestSuite) TestSaffron() { "INF Done updating ICQ params", "INF Updating MaxSupply marker param", "INF Done updating MaxSupply marker param", + "INF Adding marker net asset values", + "INF Done adding marker net asset values", } s.AssertUpgradeHandlerLogs("saffron", expInLog, nil)