Skip to content

Commit

Permalink
session key
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitenjain14 committed Oct 30, 2024
1 parent ba69bd7 commit 508438e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions cmd/updateallocation.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package cmd

import (
"github.com/0chain/gosdk/zboxcore/sdk"
"github.com/0chain/gosdk/zcncore"
"github.com/spf13/cobra"
"log"
"os"
"sync"

"github.com/0chain/gosdk/zboxcore/sdk"
"github.com/0chain/gosdk/zcncore"
"github.com/spf13/cobra"
)

// updateAllocationCmd used to change allocation size and expiration
Expand Down Expand Up @@ -135,6 +136,7 @@ var updateAllocationCmd = &cobra.Command{
addBlobberId,
addBlobberAuthTicket,
removeBlobberId,
"",
setThirdPartyExtendable,
&fileOptionParams,
statusBar,
Expand All @@ -157,6 +159,7 @@ var updateAllocationCmd = &cobra.Command{
addBlobberId,
addBlobberAuthTicket,
removeBlobberId,
"",
setThirdPartyExtendable,
&fileOptionParams,
)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.5

require (
github.com/0chain/errors v1.0.3
github.com/0chain/gosdk v1.18.0-RC4
github.com/0chain/gosdk v1.18.0-RC8.0.20241028155703-82a3092d4a0c
github.com/icza/bitio v1.1.0
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.6.0
Expand All @@ -15,7 +15,7 @@ require (
)

require (
github.com/0chain/common v1.18.0 // indirect
github.com/0chain/common v1.18.1 // indirect
github.com/Luzifer/go-openssl/v3 v3.1.0 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/btcsuite/btcd v0.23.4 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/0chain/common v1.18.0 h1:vCkD869DR0zTZS4CDl5MMN3qixxyfTNxDDcHp7cTRrc=
github.com/0chain/common v1.18.0/go.mod h1:vHK9Q0/nz28PxmKsLSMLzEs5iK6QVgl1LxdDQdR7y6s=
github.com/0chain/common v1.18.1 h1:QKXdEjK6SB3SqzDS/XbK74jy20d3tc+6PA8J8dFpuGw=
github.com/0chain/common v1.18.1/go.mod h1:Lapu2Tj7z5Sm4r+X141e7vsz4NDODTEypeElYAP3iSw=
github.com/0chain/errors v1.0.3 h1:QQZPFxTfnMcRdt32DXbzRQIfGWmBsKoEdszKQDb0rRM=
github.com/0chain/errors v1.0.3/go.mod h1:xymD6nVgrbgttWwkpSCfLLEJbFO6iHGQwk/yeSuYkIc=
github.com/0chain/gosdk v1.18.0-RC4 h1:0FoQA0+1Rz4ic1rZLUeKLeAe+zCSCst+5lYafrz2m7g=
github.com/0chain/gosdk v1.18.0-RC4/go.mod h1:BJQPX/J6ShHV5ViGjh5aCooQD/aOhvBfnfkBOuSIFfQ=
github.com/0chain/gosdk v1.18.0-RC8.0.20241028155703-82a3092d4a0c h1:t3AOpN6pZYGO/AT8LC5ZNpdM8GQJrd9kOIKZuTa9Ddk=
github.com/0chain/gosdk v1.18.0-RC8.0.20241028155703-82a3092d4a0c/go.mod h1:fw3TUzF7HWNBuksA2WZzLcHlMz+A1XA9as5i3KUBqXg=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ=
Expand Down

0 comments on commit 508438e

Please sign in to comment.