mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 04:34:26 -08:00
fully migrate to colinearcore params
- No more auctionconfig - Now includes GPU model list support - CPU vendors are still hardcoded
This commit is contained in:
@@ -3,7 +3,6 @@ package cli
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"colinear/x/colinearcore/auctionconfig"
|
||||
"colinear/x/colinearcore/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client"
|
||||
@@ -19,7 +18,9 @@ func CmdNewAuction() *cobra.Command {
|
||||
Use: "new-auction [name] [description] [ceiling] [denom] [end date] [verified providers (separated by spaces)...]",
|
||||
Short: "Broadcast message newAuction",
|
||||
// Args: cobra.ExactArgs(5),
|
||||
Args: cobra.RangeArgs(5, auctionconfig.MaxVerifiedProviders+5),
|
||||
// below: we're hardcoding the max providers param since we
|
||||
// can't check chain params locally
|
||||
Args: cobra.RangeArgs(5, 1005),
|
||||
RunE: func(cmd *cobra.Command, args []string) (err error) {
|
||||
argName := args[0]
|
||||
argDescription := args[1]
|
||||
|
||||
Reference in New Issue
Block a user