zboxcli icon indicating copy to clipboard operation
zboxcli copied to clipboard

download cost via lookuphash should work without remotepath

Open boddumanohar opened this issue 2 years ago • 1 comments

download cost via lookuphash should work without remotepath

currently it requires remotepath

./zbox get-download-cost --lookuphash ccbeabede6d6e51e276034e4528cd0f14a92179c68c1dbe12562fabd7d035581 --allocation $ALLOC
0chain-core-sdk [INFO]   2023/10/26 14:59:01.709224 wallet_base.go:327: ******* Wallet SDK Version:v1.10.0-70-g7f7e89b4 ******* (SetLogFile)
0box-sdk        [INFO]   2023/10/26 14:59:01.709325 sdk.go:79: ******* Storage SDK Version: v1.10.0-70-g7f7e89b4 *******
0chain-core-sdk [INFO]   2023/10/26 14:59:02.335696 transaction_base.go:143: ******* Wallet SDK Version:v1.10.0-70-g7f7e89b4 ******* (InitZCNSDK)
0box-sdk        [DEBUG]  2023/10/26 14:59:02.885183 networkworker.go:119: Get network result:{"miners":["https://demo2.zus.network/miner01","https://demo3.zus.network/miner01","https://demo1.zus.network/miner01"],"sharders":["https://demo2.zus.network/sharder01","https://demo3.zus.network/sharder01","https://demo1.zus.network/sharder01"]}
'remotepath' or 'authticket' flag required

boddumanohar avatar Nov 20 '23 20:11 boddumanohar

Had a converstaion @boddumanohar , his perspective is that since the reads are free. we can remove this commands altogether

Hence raised a PR accordingly https://github.com/0chain/zboxcli/pull/585

Zorro30 avatar Jan 27 '24 15:01 Zorro30