Skip to content

Commit

Permalink
chore: bump akash-api (#1915)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Jan 9, 2024
1 parent cbc4921 commit 04ab2a5
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 23 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/akash-network/node
go 1.21

require (
github.com/akash-network/akash-api v0.0.38
github.com/akash-network/akash-api v0.0.39
github.com/blang/semver/v4 v4.0.0
github.com/boz/go-lifecycle v0.1.1
github.com/cosmos/cosmos-sdk v0.45.16
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBA
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
github.com/akash-network/akash-api v0.0.38 h1:V/QJsxrTA0ico4SsH7pPxkEimUwAbndWD5D/KHFXQTM=
github.com/akash-network/akash-api v0.0.38/go.mod h1:aeB/9lti2LegbrOm0fSRNB0iKoE8JmMD8ou9EXJ8QGY=
github.com/akash-network/akash-api v0.0.39 h1:SjVhFd9VUu8N8rZkutHcgAG/M8uHVtyaUtqX4xXBtj4=
github.com/akash-network/akash-api v0.0.39/go.mod h1:aeB/9lti2LegbrOm0fSRNB0iKoE8JmMD8ou9EXJ8QGY=
github.com/akash-network/cometbft v0.34.27-akash h1:V1dApDOr8Ee7BJzYyQ7Z9VBtrAul4+baMeA6C49dje0=
github.com/akash-network/cometbft v0.34.27-akash/go.mod h1:BcCbhKv7ieM0KEddnYXvQZR+pZykTKReJJYf7YC7qhw=
github.com/akash-network/ledger-go v0.14.3 h1:LCEFkTfgGA2xFMN2CtiKvXKE7dh0QSM77PJHCpSkaAo=
Expand Down
4 changes: 2 additions & 2 deletions x/audit/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func cmdCreateProviderAttributes() *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -146,7 +146,7 @@ func cmdDeleteProviderAttributes() *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down
5 changes: 3 additions & 2 deletions x/cert/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"time"

sdkclient "github.com/cosmos/cosmos-sdk/client"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"
"github.com/spf13/viper"

Expand Down Expand Up @@ -156,7 +157,7 @@ func doPublishCmd(cmd *cobra.Command) error {

}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -229,7 +230,7 @@ func doRevokeCmd(cmd *cobra.Command) error {
},
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down
18 changes: 9 additions & 9 deletions x/deployment/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func cmdCreate(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -196,7 +196,7 @@ func cmdDeposit(key string) *cobra.Command {
Depositor: depositorAcc,
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -237,7 +237,7 @@ func cmdClose(key string) *cobra.Command {

msg := &types.MsgCloseDeployment{ID: id}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -316,7 +316,7 @@ func cmdUpdate(key string) *cobra.Command {
Version: version,
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -378,7 +378,7 @@ func cmdGroupClose(_ string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -426,7 +426,7 @@ func cmdGroupPause(_ string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -474,7 +474,7 @@ func cmdGroupStart(_ string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -557,7 +557,7 @@ Examples:
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -606,7 +606,7 @@ Example:
msgTypeURL := types.DepositDeploymentAuthorization{}.MsgTypeURL()
msg := authz.NewMsgRevoke(granter, grantee, msgTypeURL)

resp, err := cl.Tx().Broadcast(ctx, &msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{&msg})
if err != nil {
return err
}
Expand Down
10 changes: 5 additions & 5 deletions x/market/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func cmdBidCreate(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -141,7 +141,7 @@ func cmdBidClose(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -202,7 +202,7 @@ func cmdLeaseCreate(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -249,7 +249,7 @@ func cmdLeaseWithdraw(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -296,7 +296,7 @@ func cmdLeaseClose(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down
5 changes: 3 additions & 2 deletions x/provider/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

sdkclient "github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"

types "github.com/akash-network/akash-api/go/node/provider/v1beta3"
Expand Down Expand Up @@ -64,7 +65,7 @@ func cmdCreate(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down Expand Up @@ -112,7 +113,7 @@ func cmdUpdate(key string) *cobra.Command {
return err
}

resp, err := cl.Tx().Broadcast(ctx, msg)
resp, err := cl.Tx().Broadcast(ctx, []sdk.Msg{msg})
if err != nil {
return err
}
Expand Down

0 comments on commit 04ab2a5

Please sign in to comment.