fully migrate to colinearcore params

- No more auctionconfig
- Now includes GPU model list support
- CPU vendors are still hardcoded
This commit is contained in:
2022-09-22 00:16:09 +00:00
parent bfa30082f1
commit 5ebc67bfd6
14 changed files with 1087 additions and 144 deletions

View File

@@ -171,6 +171,24 @@ paths:
format: uint64
remaining:
type: string
gpus:
type: array
items:
type: string
title: hardware specs
cpuArch:
type: string
enum:
- ANY
- INTEL
- AMD
default: ANY
memMb:
type: string
format: uint64
storageGb:
type: string
format: uint64
pagination:
type: object
properties:
@@ -318,6 +336,24 @@ paths:
format: uint64
remaining:
type: string
gpus:
type: array
items:
type: string
title: hardware specs
cpuArch:
type: string
enum:
- ANY
- INTEL
- AMD
default: ANY
memMb:
type: string
format: uint64
storageGb:
type: string
format: uint64
default:
description: An unexpected error response.
schema:
@@ -436,6 +472,64 @@ paths:
params:
description: params holds all the parameters of this module.
type: object
properties:
gpuModels:
type: object
additionalProperties:
type: integer
format: int64
title: hardware options
auctionGas:
type: integer
format: int64
title: gas config
auctionTime:
type: integer
format: int64
title: auction config
minLeasePeriod:
type: integer
format: int64
maxLeasePeriod:
type: integer
format: int64
allowedAuctionDenoms:
type: array
items:
type: string
maxVerifiedProviders:
type: integer
format: int64
title: >-
Maximum number of verified providers; this is to prevent
buffer overflow
attacks since provider list is not committed to chain
state and costs 0 gas
providerMinLockedUClr:
type: integer
format: int64
title: |-
Minimum required staked CLR to be a provider (i.e. to bid)
500 CLR
providerLockedSlashUClr:
type: integer
format: int64
title: |-
Amount slashed when a provider is offline during an audit
100 CLR
providerAuditFrequency:
type: integer
format: int64
title: |-
Blocks between provider audits
400 blocks ~400-1200min
providerAuditLength:
type: integer
format: int64
title: |-
Blocks before an audit ping must be returned
3 blocks ~4-12sec
description: >-
QueryParamsResponse is response type for the Query/Params RPC
method.
@@ -30861,6 +30955,24 @@ definitions:
format: uint64
remaining:
type: string
gpus:
type: array
items:
type: string
title: hardware specs
cpuArch:
type: string
enum:
- ANY
- INTEL
- AMD
default: ANY
memMb:
type: string
format: uint64
storageGb:
type: string
format: uint64
colinear.colinearcore.Bid:
type: object
properties:
@@ -30868,6 +30980,13 @@ definitions:
type: string
amount:
type: string
colinear.colinearcore.CpuArchitecture:
type: string
enum:
- ANY
- INTEL
- AMD
default: ANY
colinear.colinearcore.LockedUsers:
type: object
properties:
@@ -30898,6 +31017,64 @@ definitions:
format: uint64
colinear.colinearcore.Params:
type: object
properties:
gpuModels:
type: object
additionalProperties:
type: integer
format: int64
title: hardware options
auctionGas:
type: integer
format: int64
title: gas config
auctionTime:
type: integer
format: int64
title: auction config
minLeasePeriod:
type: integer
format: int64
maxLeasePeriod:
type: integer
format: int64
allowedAuctionDenoms:
type: array
items:
type: string
maxVerifiedProviders:
type: integer
format: int64
title: >-
Maximum number of verified providers; this is to prevent buffer
overflow
attacks since provider list is not committed to chain state and costs
0 gas
providerMinLockedUClr:
type: integer
format: int64
title: |-
Minimum required staked CLR to be a provider (i.e. to bid)
500 CLR
providerLockedSlashUClr:
type: integer
format: int64
title: |-
Amount slashed when a provider is offline during an audit
100 CLR
providerAuditFrequency:
type: integer
format: int64
title: |-
Blocks between provider audits
400 blocks ~400-1200min
providerAuditLength:
type: integer
format: int64
title: |-
Blocks before an audit ping must be returned
3 blocks ~4-12sec
description: Params defines the parameters for the module.
colinear.colinearcore.QueryAllAuctionResponse:
type: object
@@ -30937,6 +31114,24 @@ definitions:
format: uint64
remaining:
type: string
gpus:
type: array
items:
type: string
title: hardware specs
cpuArch:
type: string
enum:
- ANY
- INTEL
- AMD
default: ANY
memMb:
type: string
format: uint64
storageGb:
type: string
format: uint64
pagination:
type: object
properties:
@@ -31026,6 +31221,24 @@ definitions:
format: uint64
remaining:
type: string
gpus:
type: array
items:
type: string
title: hardware specs
cpuArch:
type: string
enum:
- ANY
- INTEL
- AMD
default: ANY
memMb:
type: string
format: uint64
storageGb:
type: string
format: uint64
colinear.colinearcore.QueryGetLockedUsersResponse:
type: object
properties:
@@ -31056,6 +31269,64 @@ definitions:
params:
description: params holds all the parameters of this module.
type: object
properties:
gpuModels:
type: object
additionalProperties:
type: integer
format: int64
title: hardware options
auctionGas:
type: integer
format: int64
title: gas config
auctionTime:
type: integer
format: int64
title: auction config
minLeasePeriod:
type: integer
format: int64
maxLeasePeriod:
type: integer
format: int64
allowedAuctionDenoms:
type: array
items:
type: string
maxVerifiedProviders:
type: integer
format: int64
title: >-
Maximum number of verified providers; this is to prevent buffer
overflow
attacks since provider list is not committed to chain state and
costs 0 gas
providerMinLockedUClr:
type: integer
format: int64
title: |-
Minimum required staked CLR to be a provider (i.e. to bid)
500 CLR
providerLockedSlashUClr:
type: integer
format: int64
title: |-
Amount slashed when a provider is offline during an audit
100 CLR
providerAuditFrequency:
type: integer
format: int64
title: |-
Blocks between provider audits
400 blocks ~400-1200min
providerAuditLength:
type: integer
format: int64
title: |-
Blocks before an audit ping must be returned
3 blocks ~4-12sec
description: QueryParamsResponse is response type for the Query/Params RPC method.
cosmos.base.query.v1beta1.PageRequest:
type: object