Skip to content

Commit

Permalink
bump sdk dependency (#984)
Browse files Browse the repository at this point in the history
* bump sdk dependency

* fix linter

* bump gas adjustment

* update matrix

* set gaia version
  • Loading branch information
jhernandezb authored Mar 6, 2024
1 parent c23b7ba commit 9129439
Show file tree
Hide file tree
Showing 15 changed files with 100 additions and 100 deletions.
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ steps:
password:
from_secret: docker_password
tags:
- 13.0.0-beta.6
- 13.0.0-beta.7
when:
event:
- push
branch:
- jhernandezb/bump-sdk-0479
- jhernandezb/bump-pfm-module
- name: docker_release
image: plugins/docker
settings:
Expand Down Expand Up @@ -351,7 +351,7 @@ steps:
- ./scripts/ci/upgrade/proposal.sh
- name: stargaze-upgraded
pull: always
image: publicawesome/stargaze:13.0.0-beta.6
image: publicawesome/stargaze:13.0.0-beta.7
commands:
- ./scripts/ci/upgrade/run-upgrade.sh
environment:
Expand All @@ -370,7 +370,7 @@ steps:
- http://icad:26657
- name: check-params
pull: always
image: publicawesome/stargaze:13.0.0-beta.6
image: publicawesome/stargaze:13.0.0-beta.7
commands:
- starsd q mint params --node http://stargaze-upgraded:26657
- starsd q alloc params --node http://stargaze-upgraded:26657
Expand Down Expand Up @@ -420,6 +420,6 @@ volumes:

---
kind: signature
hmac: dbcdddbf9aa69ec1897f6a02aa72e91c6b1f086139abcf61bd1269d97794174e
hmac: 0af94ca948b2acd8e09bb12c8d57e9805b26b12ea8ee85dca746cf461de65c00

...
10 changes: 5 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ import (
ibchookskeeper "github.com/cosmos/ibc-apps/modules/ibc-hooks/v7/keeper"
ibchookstypes "github.com/cosmos/ibc-apps/modules/ibc-hooks/v7/types"

packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/router"
packetforwardkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/router/keeper"
packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/router/types"
packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward"
packetforwardkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/keeper"
packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7/packetforward/types"

// ica
ica "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts"
Expand Down Expand Up @@ -512,13 +512,13 @@ func NewStargazeApp(
app.PacketForwardKeeper = packetforwardkeeper.NewKeeper(
appCodec,
app.keys[packetforwardtypes.StoreKey],
app.GetSubspace(packetforwardtypes.ModuleName),
app.TransferKeeper,
app.IBCKeeper.ChannelKeeper,
app.DistrKeeper,
app.BankKeeper,
// The ICS4Wrapper is replaced by the HooksICS4Wrapper instead of the channel so that sending can be overridden by the middleware
app.HooksICS4Wrapper,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)

/*
Expand Down Expand Up @@ -712,7 +712,7 @@ func NewStargazeApp(
globalfeeModule,
ibchooks.NewAppModule(app.AccountKeeper),
tokenfactory.NewAppModule(app.TokenFactoryKeeper, app.AccountKeeper, app.BankKeeper),
packetforward.NewAppModule(app.PacketForwardKeeper),
packetforward.NewAppModule(app.PacketForwardKeeper, app.GetSubspace(packetforwardtypes.ModuleName)),
consensus.NewAppModule(appCodec, app.ConsensusParamsKeeper),
// this line is used by starport scaffolding # stargate/app/appModule

Expand Down
2 changes: 1 addition & 1 deletion app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (app *App) RegisterUpgradeHandlers(cfg module.Configurator) {

baseAppLegacySS := app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramstypes.ConsensusParamsKeyTable())

app.UpgradeKeeper.SetUpgradeHandler(upgradeName, func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
app.UpgradeKeeper.SetUpgradeHandler(upgradeName, func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
// Migrate Tendermint consensus parameters from x/params module to a dedicated x/consensus module.
baseapp.MigrateParams(ctx, baseAppLegacySS, &app.ConsensusParamsKeeper)

Expand Down
9 changes: 5 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/armon/go-metrics v0.4.1
github.com/cometbft/cometbft v0.37.4
github.com/cosmos/cosmos-proto v1.0.0-beta.4
github.com/cosmos/cosmos-sdk v0.47.9
github.com/cosmos/cosmos-sdk v0.47.10
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/gogoproto v1.4.10
github.com/golang/protobuf v1.5.3
Expand All @@ -28,7 +28,7 @@ require (
cosmossdk.io/api v0.3.1
cosmossdk.io/errors v1.0.1
github.com/cometbft/cometbft-db v0.8.0
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.0
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.2
github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79
github.com/cosmos/ibc-go/v7 v7.3.2
github.com/prometheus/client_golang v1.17.0
Expand All @@ -44,7 +44,7 @@ require (
cosmossdk.io/core v0.6.1 // indirect
cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
cosmossdk.io/log v1.3.1 // indirect
cosmossdk.io/math v1.2.0 // indirect
cosmossdk.io/math v1.3.0 // indirect
cosmossdk.io/tools/rosetta v0.2.1 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
Expand Down Expand Up @@ -187,11 +187,12 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
nhooyr.io/websocket v1.8.6 // indirect
pgregory.net/rapid v1.1.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 => github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
golang.org/x/exp => golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb
Expand Down
18 changes: 10 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0=
cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U=
cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI=
cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM=
cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig=
cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0=
cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE=
cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k=
cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw=
cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw=
filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns=
Expand Down Expand Up @@ -391,8 +391,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk=
github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis=
github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU=
github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co=
github.com/cosmos/cosmos-sdk v0.47.9 h1:D51VLkF59D53PMLsbNtp6JyWR+6MbetFyomrH88+y08=
github.com/cosmos/cosmos-sdk v0.47.9/go.mod h1:cmAawe8FV/52oPKbgeHLt4UpNkrNu8R5KD+kw0kxJFc=
github.com/cosmos/cosmos-sdk v0.47.10 h1:Wxf5yEN3jZbG4fftxAMKB6rpd8ME0mxuCVihpz65dt0=
github.com/cosmos/cosmos-sdk v0.47.10/go.mod h1:UWpgWkhcsBIATS68uUC0del7IiBN4hPv/vqg8Zz23uw=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
Expand All @@ -403,8 +403,8 @@ github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoK
github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek=
github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg=
github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A=
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.0 h1:i9esYyZ5ExpZOgxrLMQhY2jDTVYiaD8yUeqXN9QBgbk=
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.0.0/go.mod h1:fctjEnz9xaBFOlmYYPdKL8Hs1Y3GUKilSwsJdqBb5QU=
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b h1:VwhHRRIPdMshBMb2TP7xrkY4Ee8CJWsHZvucYeJ56no=
github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3-0.20240228213828-cce7f56d000b/go.mod h1:UvDmcGIWJPIytq+Q78/ff5NTOsuX/7IrNgEugTW5i0s=
github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79 h1:pCxyhIxgWTabAQC5UerkITraHG3SwajdLKKMCFDWCv4=
github.com/cosmos/ibc-apps/modules/ibc-hooks/v7 v7.0.0-20230803181732-7c8f814d3b79/go.mod h1:JwHFbo1oX/ht4fPpnPvmhZr+dCkYK1Vihw+vZE9umR4=
github.com/cosmos/ibc-go/v7 v7.3.2 h1:FeUDcBX7VYY0e0iRmcVkPPUjYfAqIc//QuHXo8JHz9c=
Expand Down Expand Up @@ -1236,6 +1236,8 @@ go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqe
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/mock v0.2.0 h1:TaP3xedm7JaAgScZO7tlvlKrqT0p7I6OsdGB5YNSMDU=
go.uber.org/mock v0.2.0/go.mod h1:J0y0rp9L3xiff1+ZBfKxlC1fz2+aO16tw0tsDOixfuM=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA=
Expand Down Expand Up @@ -1913,6 +1915,6 @@ rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
rsc.io/tmplfunc v0.0.3/go.mod h1:AG3sTPzElb1Io3Yg4voV9AGZJuleGAwaVRxL9M49PhA=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo=
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
63 changes: 31 additions & 32 deletions interchain_test/gaia.matrix.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
{
"Relayers": [
"hermes",
"rly"
],
"ChainSets": [
[
{
"Name": "gaia",
"Version": "latest"
},
{
"NumValidators": 2,
"NumFullNodes": 1,
"Type": "cosmos",
"Name": "local-stargaze",
"ChainID": "testing",
"Images": [
{
"Repository": "publicawesome/stargaze",
"Version": "local-dev",
"UidGid": "1025:1025"
}
],
"Bin": "starsd",
"Bech32Prefix": "stars",
"Denom": "ustars",
"GasPrices": "0.01ustars",
"GasAdjustment": 1.3,
"TrustingPeriod": "504h"
}
]
"Relayers": ["hermes", "rly"],
"ChainSets": [
[
{
"Name": "gaia",
"GasPrices": "0.1uatom",
"GasAdjustment": 1.7,
"Version": "v14.1.0"
},
{
"NumValidators": 2,
"NumFullNodes": 1,
"Type": "cosmos",
"Name": "local-stargaze",
"ChainID": "testing",
"Images": [
{
"Repository": "publicawesome/stargaze",
"Version": "local-dev",
"UidGid": "1025:1025"
}
],
"Bin": "starsd",
"Bech32Prefix": "stars",
"Denom": "ustars",
"GasPrices": "0.01ustars",
"GasAdjustment": 1.7,
"TrustingPeriod": "504h"
}
]
}
]
}
62 changes: 30 additions & 32 deletions interchain_test/osmosis.matrix.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
{
"Relayers": [
"hermes",
"rly"
],
"ChainSets": [
[
{
"Name": "osmosis",
"Version": "v14.0.0"
},
{
"NumValidators": 2,
"NumFullNodes": 1,
"Type": "cosmos",
"Name": "local-stargaze",
"ChainID": "testing",
"Images": [
{
"Repository": "publicawesome/stargaze",
"Version": "local-dev",
"UidGid": "1025:1025"
}
],
"Bin": "starsd",
"Bech32Prefix": "stars",
"Denom": "ustars",
"GasPrices": "0.01ustars",
"GasAdjustment": 1.3,
"TrustingPeriod": "504h"
}
]
"Relayers": ["hermes", "rly"],
"ChainSets": [
[
{
"Name": "osmosis",
"Version": "v14.0.0",
"GasAdjustment": 1.7
},
{
"NumValidators": 2,
"NumFullNodes": 1,
"Type": "cosmos",
"Name": "local-stargaze",
"ChainID": "testing",
"Images": [
{
"Repository": "publicawesome/stargaze",
"Version": "local-dev",
"UidGid": "1025:1025"
}
],
"Bin": "starsd",
"Bech32Prefix": "stars",
"Denom": "ustars",
"GasPrices": "0.01ustars",
"GasAdjustment": 1.7,
"TrustingPeriod": "504h"
}
]
}
]
}
4 changes: 2 additions & 2 deletions testutil/keeper/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func CronKeeper(tb testing.TB) (keeper.Keeper, sdk.Context) {
subspace, _ := paramsKeeper.GetSubspace(types.ModuleName)

wk := MockWasmKeeper{
HasContractInfoFn: func(ctx sdk.Context, contractAddr sdk.AccAddress) bool {
HasContractInfoFn: func(_ sdk.Context, contractAddr sdk.AccAddress) bool {
switch contractAddr.String() {
case "cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpjnp7du":
return true
Expand All @@ -51,7 +51,7 @@ func CronKeeper(tb testing.TB) (keeper.Keeper, sdk.Context) {
}
return false
},
SudoFn: func(ctx sdk.Context, contractAddress sdk.AccAddress, msg []byte) ([]byte, error) {
SudoFn: func(_ sdk.Context, _ sdk.AccAddress, _ []byte) ([]byte, error) {
return nil, nil
},
}
Expand Down
4 changes: 2 additions & 2 deletions testutil/keeper/globalfee.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func GlobalFeeKeeper(tb testing.TB) (keeper.Keeper, sdk.Context) {
subspace, _ := paramsKeeper.GetSubspace(types.ModuleName)

wk := MockWasmKeeper{
HasContractInfoFn: func(ctx sdk.Context, contractAddr sdk.AccAddress) bool {
HasContractInfoFn: func(_ sdk.Context, contractAddr sdk.AccAddress) bool {
switch contractAddr.String() {
case "cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpjnp7du":
return true
Expand All @@ -54,7 +54,7 @@ func GlobalFeeKeeper(tb testing.TB) (keeper.Keeper, sdk.Context) {
}
return false
},
GetCodeInfoFn: func(ctx sdk.Context, codeID uint64) *wasmtypes.CodeInfo {
GetCodeInfoFn: func(_ sdk.Context, codeID uint64) *wasmtypes.CodeInfo {
if codeID == 1 {
return &wasmtypes.CodeInfo{
Creator: "cosmos144sh8vyv5nqfylmg4mlydnpe3l4w780jsrmf4k",
Expand Down
2 changes: 1 addition & 1 deletion x/alloc/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func GetCmdQueryParams() *cobra.Command {
Use: "params",
Short: "Query the current alloc parameters",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down
4 changes: 2 additions & 2 deletions x/cron/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func GetCmdListPrivilegedContracts() *cobra.Command {
Long: "List all contract addresses which have been elevated to privileged status",
Aliases: []string{"privileged-contracts", "privileged", "lpc"},
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand All @@ -64,7 +64,7 @@ func GetCmdParams() *cobra.Command {
Use: "params",
Short: "Query the module params",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down
4 changes: 2 additions & 2 deletions x/globalfee/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func GetCmdParams() *cobra.Command {
Use: "params",
Short: "List the module params",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down Expand Up @@ -120,7 +120,7 @@ func GetCmdAuthorizations() *cobra.Command {
Use: "auth-all",
Short: "Gets all the authorizations",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down
Loading

0 comments on commit 9129439

Please sign in to comment.