Skip to content

Commit

Permalink
chore: bump node & akash-api (#117)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian authored May 2, 2023
1 parent a3d7411 commit bbfecf2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 5 additions & 1 deletion bidengine/order_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ func makeMocks(s *orderTestScaffold) {
cpu := atypes.CPU{}
cpu.Units = atypes.NewResourceValue(uint64(dtypes.GetValidationConfig().MinUnitCPU))

gpu := atypes.GPU{}
gpu.Units = atypes.NewResourceValue(uint64(dtypes.GetValidationConfig().MinUnitGPU))

memory := atypes.Memory{}
memory.Quantity = atypes.NewResourceValue(dtypes.GetValidationConfig().MinUnitMemory)

Expand All @@ -67,6 +70,7 @@ func makeMocks(s *orderTestScaffold) {

clusterResources := atypes.ResourceUnits{
CPU: &cpu,
GPU: &gpu,
Memory: &memory,
Storage: storage,
}
Expand Down Expand Up @@ -155,7 +159,7 @@ func makeOrderForTest(t *testing.T, checkForExistingBid bool, bidState mtypes.Bi
if callerConfig != nil {
cfg = *callerConfig // Copy values from caller
}
// Overwrite some with stuff built in this function
// Overwrite some with stuff built-in this function
cfg.PricingStrategy = pricing
cfg.Deposit = mtypes.DefaultBidMinDeposit
cfg.MaxGroupVolumes = constants.DefaultMaxGroupVolumes
Expand Down
4 changes: 2 additions & 2 deletions cmd/provider-services/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import (
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
tmcli "github.com/tendermint/tendermint/libs/cli"

"github.com/akash-network/akash-api/go/sdkutil"
// init default cosmos-sdk config
_ "github.com/akash-network/akash-api/go/sdkutil"
"github.com/akash-network/node/app"
acmd "github.com/akash-network/node/cmd/akash/cmd"
ecmd "github.com/akash-network/node/events/cmd"
Expand All @@ -24,7 +25,6 @@ import (
)

func NewRootCmd() *cobra.Command {
sdkutil.InitSDKConfig()

encodingConfig := app.MakeEncodingConfig()

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/akash-network/provider
go 1.18

require (
github.com/akash-network/akash-api v0.0.11
github.com/akash-network/node v0.23.0-rc7
github.com/akash-network/akash-api v0.0.15
github.com/akash-network/node v0.23.0-rc9
github.com/avast/retry-go v3.0.0+incompatible
github.com/boz/go-lifecycle v0.1.1-0.20190620234137-5139c86739b8
github.com/cosmos/cosmos-sdk v0.45.15
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,16 @@ github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
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.11 h1:5g0K4ZwXGuYPO/zuGqZDNuPuIRUv37XRLfSTWsesozU=
github.com/akash-network/akash-api v0.0.11/go.mod h1:e1QqkOFwxHKf88I3U5bPOmREdfHHHX2bY27ZZOFnTX4=
github.com/akash-network/akash-api v0.0.15 h1:J5d+8b5mEwd2EOrAevvEVP8mMTVihm8hZx4k0+EaIEs=
github.com/akash-network/akash-api v0.0.15/go.mod h1:e1QqkOFwxHKf88I3U5bPOmREdfHHHX2bY27ZZOFnTX4=
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=
github.com/akash-network/ledger-go v0.14.3/go.mod h1:NfsjfFvno9Kaq6mfpsKz4sqjnAVVEsVsnBJfKB4ueAs=
github.com/akash-network/ledger-go/cosmos v0.14.3 h1:bEI9jLHM+Lm55idi4RfJlDez4/rVJs7E1MT0U2whYqI=
github.com/akash-network/ledger-go/cosmos v0.14.3/go.mod h1:SjAfheQTE4rWk0ir+wjbOWxwj8nc8E4AZ08NdsvYG24=
github.com/akash-network/node v0.23.0-rc7 h1:yOfa+MWENKCjir64oJG2oGJHHQbVqfHa+Jh6kz0Uvek=
github.com/akash-network/node v0.23.0-rc7/go.mod h1:uki3RO5UplGDkY5ew1i7TtuEkpzQvYoaAv4Y4UbpULU=
github.com/akash-network/node v0.23.0-rc9 h1:CI7ippxpmKtzD/wRKu/4is0SIlY/tiaWfifjjUSHLTI=
github.com/akash-network/node v0.23.0-rc9/go.mod h1:IY5MshnhqlzzPWWigMHvhafF4tDqzkWMOCUtVOSygTo=
github.com/alecthomas/participle/v2 v2.0.0-alpha7 h1:cK4vjj0VSgb3lN1nuKA5F7dw+1s1pWBe5bx7nNCnN+c=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
Expand Down

0 comments on commit bbfecf2

Please sign in to comment.