Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Apr 8, 2024
1 parent 23e9179 commit 8bc20a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package app

import (
"fmt"
"github.com/notional-labs/composable/v6/app/upgrades/v6_6_0"
"io"
"os"
"path/filepath"
"strings"

"github.com/notional-labs/composable/v6/app/upgrades/v6_6_0"

nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node"
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation"
Expand Down
3 changes: 2 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ func (appKeepers *AppKeepers) InitNormalKeepers(

appKeepers.StakingMiddlewareKeeper = stakingmiddleware.NewKeeper(appCodec, appKeepers.keys[stakingmiddlewaretypes.StoreKey], authtypes.NewModuleAddress(govtypes.ModuleName).String())
appKeepers.IbcTransferMiddlewareKeeper = ibctransfermiddleware.NewKeeper(appCodec, appKeepers.keys[ibctransfermiddlewaretypes.StoreKey], authtypes.NewModuleAddress(govtypes.ModuleName).String(),
[]string{"centauri1ay9y5uns9khw2kzaqr3r33v2pkuptfnnr93j5j",
[]string{
"centauri1ay9y5uns9khw2kzaqr3r33v2pkuptfnnr93j5j",
"centauri14lz7gaw92valqjearnye4shex7zg2p05mlx9q0",
"centauri1r2zlh2xn85v8ljmwymnfrnsmdzjl7k6w6lytan",
"centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m",
Expand Down
5 changes: 3 additions & 2 deletions app/upgrades/v6_6_0/upgrades_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
"testing"
"time"

"github.com/notional-labs/composable/v6/app/upgrades/v6_5_2"

"cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/bech32"
Expand All @@ -17,7 +19,6 @@ import (
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
apptesting "github.com/notional-labs/composable/v6/app"
"github.com/notional-labs/composable/v6/app/upgrades/v6_4_7"
"github.com/notional-labs/composable/v6/bech32-migration/utils"
"github.com/stretchr/testify/suite"
alliancetypes "github.com/terra-money/alliance/x/alliance/types"
Expand Down Expand Up @@ -60,7 +61,7 @@ func (s *UpgradeTestSuite) TestForMigratingNewPrefix() {

/* == UPGRADE == */
upgradeHeight := int64(5)
s.ConfirmUpgradeSucceeded(v6_4_7.UpgradeName, upgradeHeight)
s.ConfirmUpgradeSucceeded(v6_5_2.UpgradeName, upgradeHeight)

/* == CHECK AFTER UPGRADE == */
checkUpgradeGovModule(s, acc1, proposal)
Expand Down

0 comments on commit 8bc20a4

Please sign in to comment.