Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dimiandre committed Mar 9, 2024
1 parent e98863b commit 938be31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/upgrades/testnet/v21.0.0-alpha.1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var Upgrade = upgrades.Upgrade{
func v2100Alpha1UpgradeHandler(
mm *module.Manager,
cfg module.Configurator,
k *keepers.AppKeepers,
_ *keepers.AppKeepers,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
logger := ctx.Logger().With("upgrade", UpgradeName)
Expand Down
5 changes: 4 additions & 1 deletion app/upgrades/v13/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (

"github.com/CosmosContracts/juno/v21/app/keepers"
"github.com/CosmosContracts/juno/v21/app/upgrades"

Check failure on line 18 in app/upgrades/v13/upgrades.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gci`-ed with --skip-generated -s standard -s default -s blank -s dot -s prefix(github.com/cometbft/cometbft) -s prefix(github.com/cosmos) -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) -s prefix(github.com/CosmosContracts/juno) --custom-order (gci)
// types
feesharetypes "github.com/CosmosContracts/juno/v21/x/feeshare/types"
tokenfactorytypes "github.com/CosmosContracts/juno/v21/x/tokenfactory/types"
Expand Down Expand Up @@ -79,7 +80,9 @@ func CreateV13UpgradeHandler(
logger.Info("set feeshare params")

// Packet Forward middleware initial params
keepers.PacketForwardKeeper.SetParams(ctx, packetforwardtypes.DefaultParams())
if err := keepers.PacketForwardKeeper.SetParams(ctx, packetforwardtypes.DefaultParams()); err != nil {
return nil, err
}

return versionMap, err
}
Expand Down

0 comments on commit 938be31

Please sign in to comment.