Skip to content

Commit

Permalink
feat: add mainnet owner addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Sep 13, 2024
1 parent 36a0bac commit 80ce494
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/upgrades/numus/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package numus

import (
"fmt"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
Expand Down Expand Up @@ -32,8 +33,8 @@ func CreateUpgradeHandler(
florinKeeper.SetOwner(ctx, "ueure", "noble1tv9u97jln0k3anpzhahkeahh66u74dug302pyn")
florinKeeper.SetBlacklistOwner(ctx, "noble1tv9u97jln0k3anpzhahkeahh66u74dug302pyn")
case MainnetChainID:
florinKeeper.SetOwner(ctx, "ueure", "") // TODO
florinKeeper.SetBlacklistOwner(ctx, "") // TODO
florinKeeper.SetOwner(ctx, "ueure", "noble1ya7ggnwv78qcnkv89lte30yge54ztzst3usgmw")
florinKeeper.SetBlacklistOwner(ctx, "noble1ya7ggnwv78qcnkv89lte30yge54ztzst3usgmw")
default:
return vm, fmt.Errorf("%s upgrade not allowed to execute on %s chain", UpgradeName, ctx.ChainID())
}
Expand Down

0 comments on commit 80ce494

Please sign in to comment.