mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 06:14:25 -08:00
CLI tests, updates, fixes (reflect hw options)
This commit is contained in:
@@ -18,7 +18,7 @@ func CmdNewAuction() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "new-auction [name] [description] [ceiling] [denom] [end date] [verified providers (json string)] [gpus (json string)] [cpu cores] [cpu arch] [memory (MB)] [storage (GB)]",
|
||||
Short: "Broadcast message newAuction",
|
||||
Args: cobra.ExactArgs(10),
|
||||
Args: cobra.ExactArgs(11),
|
||||
// below: we're hardcoding the max providers param since we
|
||||
// can't check chain params locally
|
||||
// Args: cobra.RangeArgs(10, 1010),
|
||||
@@ -69,7 +69,6 @@ func CmdNewAuction() *cobra.Command {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
nMemMb, err := strconv.Atoi(memMb)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user