Skip to content

Commit

Permalink
In the umber upgrade, set the scope navs using the mainnet data.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Jul 11, 2024
1 parent 6d8d85f commit 6f20237
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ var upgrades = map[string]appUpgrade{

updateIBCClients(ctx, app)

err = addScopeNAVs(ctx, app, umberMainnetScopeNAVsFN)
if err != nil {
return nil, err
}

removeInactiveValidatorDelegations(ctx, app)

return vm, nil
Expand Down
4 changes: 4 additions & 0 deletions app/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ func (s *UpgradeTestSuite) TestUmber() {
"INF Done setting new gov params for mainnet.",
"INF Updating IBC AllowedClients.",
"INF Done updating IBC AllowedClients.",
"INF Adding scope net asset values.",
"INF Adding 212895 scope net asset value entries.",
"INF Successfully added 0 of 212895 scope net asset value entries.",
"INF Done adding scope net asset values.",
"INF Removing inactive validator delegations.",
"INF Threshold: 21 days",
"INF A total of 0 inactive (unbonded) validators have had all their delegators removed.",
Expand Down

0 comments on commit 6f20237

Please sign in to comment.