Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Feb 6, 2024
1 parent a77bad0 commit 7c24c38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/upgrades/v4_1_0/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v4
// UpgradeName defines the on-chain upgrade name for the Migaloo v3.0.2 upgrade.
// this upgrade includes the fix for pfm
const (
UpgradeName = "v4.1.0"
NotionalMultisigVestingAccount = "migaloo1alga5e8vr6ccr9yrg0kgxevpt5xgmgrvqgujs6"
NewNotionalMultisigVestingAccount = "migaloo1tx6f2hetpd9uhveja26kr074496hzk2zzqhsh0"
UpgradeName = "v4.1.0"
NotionalMultisigVestingAccount = "migaloo1alga5e8vr6ccr9yrg0kgxevpt5xgmgrvqgujs6"
NewNotionalMultisigAccount = "migaloo1tx6f2hetpd9uhveja26kr074496hzk2zzqhsh0"
)
2 changes: 1 addition & 1 deletion app/upgrades/v4_1_0/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func migrateMultisigVesting(ctx sdk.Context,
accountKeeper authkeeper.AccountKeeper,
) {
currentAddr := sdk.MustAccAddressFromBech32(NotionalMultisigVestingAccount)
newAddr := sdk.MustAccAddressFromBech32(NewNotionalMultisigVestingAccount)
newAddr := sdk.MustAccAddressFromBech32(NewNotionalMultisigAccount)

currentAcc := accountKeeper.GetAccount(ctx, currentAddr)

Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v4_1_0/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (s *UpgradeTestSuite) TestUpgrade() {
s.Require().True(oldMultisigBalance.AmountOf(params.BaseDenom).GTE(unvested))

// check new multisign address balance
newBalance := s.App.BankKeeper.GetAllBalances(s.Ctx, sdk.MustAccAddressFromBech32(v4.NewNotionalMultisigVestingAccount))
newBalance := s.App.BankKeeper.GetAllBalances(s.Ctx, sdk.MustAccAddressFromBech32(v4.NewNotionalMultisigAccount))
vestedBalance := cVesting.GetVestedCoins(s.Ctx.BlockTime())
fmt.Printf("New multisign Upgrade Balance: %s\n", newBalance)
s.Require().True(newBalance.AmountOf(params.BaseDenom).LTE(vestedBalance.AmountOf(params.BaseDenom)))
Expand Down

0 comments on commit 7c24c38

Please sign in to comment.