From b1362a38e61fffaca2b405cf67d49e6314474eed Mon Sep 17 00:00:00 2001 From: Piers Shepperson Date: Tue, 27 Jun 2023 19:45:28 +0100 Subject: [PATCH 1/3] min lock demand (#267) * min lock demand * go mod * go mod --- cmd/misc.go | 1 - go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/misc.go b/cmd/misc.go index 5e293ceb..ae4545dc 100644 --- a/cmd/misc.go +++ b/cmd/misc.go @@ -61,7 +61,6 @@ func printBlobberList(nodes []*sdk.Blobber) { fmt.Sprintf("%f / %f", zcncore.ConvertToToken(int64(child.Terms.ReadPrice)), zcncore.ConvertToToken(int64(child.Terms.WritePrice))), - fmt.Sprint(child.Terms.MinLockDemand), } } util.WriteTable(os.Stdout, header, []string{}, data) diff --git a/go.mod b/go.mod index c56fd37e..7986db7f 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/0chain/zwalletcli require ( - github.com/0chain/gosdk v1.8.17-0.20230623160341-6d98b815ed3e + github.com/0chain/gosdk v1.8.17-0.20230622083326-8eb4cb26d33f github.com/ethereum/go-ethereum v1.10.26 github.com/icza/bitio v1.1.0 github.com/olekukonko/tablewriter v0.0.5 diff --git a/go.sum b/go.sum index a802301b..6a7061b3 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/0chain/common v0.0.6-0.20230127095721-8df4d1d72565 h1:z+DtCR8mBsjPnEs github.com/0chain/common v0.0.6-0.20230127095721-8df4d1d72565/go.mod h1:UyDC8Qyl5z9lGkCnf9RHJPMektnFX8XtCJZHXCCVj8E= 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.8.17-0.20230623160341-6d98b815ed3e h1:DFoj1CqpwT/7t+KwzHca+TEk0cwY7FOl/b1T0xkQZBQ= -github.com/0chain/gosdk v1.8.17-0.20230623160341-6d98b815ed3e/go.mod h1:GgqNjoHBO0JN9TcpDAC28/VE2VsZi4MDr4qGdzfWV+I= +github.com/0chain/gosdk v1.8.17-0.20230622083326-8eb4cb26d33f h1:dzlpTbLjUwSEdJc4aTFl6z6IW5ONOk2KO1IlZgFqyNw= +github.com/0chain/gosdk v1.8.17-0.20230622083326-8eb4cb26d33f/go.mod h1:GgqNjoHBO0JN9TcpDAC28/VE2VsZi4MDr4qGdzfWV+I= 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/Luzifer/go-openssl/v3 v3.1.0 h1:QqKqo6kYXGGUsvtUoCpRZm8lHw+jDfhbzr36gVj+/gw= From f7a89ab0a9fe58dbfd344ab028f84e404002d505 Mon Sep 17 00:00:00 2001 From: Yury Date: Thu, 29 Jun 2023 21:57:50 +0300 Subject: [PATCH 2/3] updated gosdk (#272) --- go.mod | 3 ++- go.sum | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 7986db7f..e2d288fc 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/0chain/zwalletcli require ( - github.com/0chain/gosdk v1.8.17-0.20230622083326-8eb4cb26d33f + github.com/0chain/gosdk v1.8.17-0.20230629151627-48b2334f86e0 github.com/ethereum/go-ethereum v1.10.26 github.com/icza/bitio v1.1.0 github.com/olekukonko/tablewriter v0.0.5 @@ -30,6 +30,7 @@ require ( github.com/h2non/filetype v1.1.3 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.2 // indirect + github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/herumi/bls-go-binary v1.31.0 // indirect github.com/inconshreveable/mousetrap v1.0.1 // indirect diff --git a/go.sum b/go.sum index 6a7061b3..4e671254 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/0chain/common v0.0.6-0.20230127095721-8df4d1d72565 h1:z+DtCR8mBsjPnEs github.com/0chain/common v0.0.6-0.20230127095721-8df4d1d72565/go.mod h1:UyDC8Qyl5z9lGkCnf9RHJPMektnFX8XtCJZHXCCVj8E= 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.8.17-0.20230622083326-8eb4cb26d33f h1:dzlpTbLjUwSEdJc4aTFl6z6IW5ONOk2KO1IlZgFqyNw= -github.com/0chain/gosdk v1.8.17-0.20230622083326-8eb4cb26d33f/go.mod h1:GgqNjoHBO0JN9TcpDAC28/VE2VsZi4MDr4qGdzfWV+I= +github.com/0chain/gosdk v1.8.17-0.20230629151627-48b2334f86e0 h1:DUhSAafsoFq54ronw5pWPwrG2mRcchhgcKRZ3ti6/kI= +github.com/0chain/gosdk v1.8.17-0.20230629151627-48b2334f86e0/go.mod h1:GgqNjoHBO0JN9TcpDAC28/VE2VsZi4MDr4qGdzfWV+I= 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/Luzifer/go-openssl/v3 v3.1.0 h1:QqKqo6kYXGGUsvtUoCpRZm8lHw+jDfhbzr36gVj+/gw= @@ -201,6 +201,7 @@ github.com/hashicorp/go-retryablehttp v0.7.2/go.mod h1:Jy/gPYAdjqffZ/yFGCFV2doI5 github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= +github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/herumi/bls-go-binary v1.31.0 h1:L1goQ2tMtGgpXCg5AwHAdJQpLs/pfnWWEc3Wog6OhmI= From e8723ed2b30e7472c5426c56d5ebe1b0c1b928b9 Mon Sep 17 00:00:00 2001 From: Kishan-Dhakan Date: Mon, 3 Jul 2023 00:12:29 +0530 Subject: [PATCH 3/3] point gosdk to staging --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e2d288fc..62c5be8c 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/0chain/zwalletcli require ( - github.com/0chain/gosdk v1.8.17-0.20230629151627-48b2334f86e0 + github.com/0chain/gosdk v1.8.17-0.20230630164210-0c14d02962ab github.com/ethereum/go-ethereum v1.10.26 github.com/icza/bitio v1.1.0 github.com/olekukonko/tablewriter v0.0.5 diff --git a/go.sum b/go.sum index 4e671254..8f9d02dd 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/0chain/common v0.0.6-0.20230127095721-8df4d1d72565 h1:z+DtCR8mBsjPnEs github.com/0chain/common v0.0.6-0.20230127095721-8df4d1d72565/go.mod h1:UyDC8Qyl5z9lGkCnf9RHJPMektnFX8XtCJZHXCCVj8E= 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.8.17-0.20230629151627-48b2334f86e0 h1:DUhSAafsoFq54ronw5pWPwrG2mRcchhgcKRZ3ti6/kI= -github.com/0chain/gosdk v1.8.17-0.20230629151627-48b2334f86e0/go.mod h1:GgqNjoHBO0JN9TcpDAC28/VE2VsZi4MDr4qGdzfWV+I= +github.com/0chain/gosdk v1.8.17-0.20230630164210-0c14d02962ab h1:EtfLUOe4ow1hAgHsUmngDr8XuizO1riMDM7Iwq2wGOw= +github.com/0chain/gosdk v1.8.17-0.20230630164210-0c14d02962ab/go.mod h1:GgqNjoHBO0JN9TcpDAC28/VE2VsZi4MDr4qGdzfWV+I= 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/Luzifer/go-openssl/v3 v3.1.0 h1:QqKqo6kYXGGUsvtUoCpRZm8lHw+jDfhbzr36gVj+/gw=