hardware specs mandatory in auction creation msg

This commit is contained in:
2022-09-22 23:01:31 +00:00
parent 0b040b4334
commit 98c082693d
2 changed files with 244 additions and 33 deletions

View File

@@ -5,6 +5,8 @@ package colinear.colinearcore;
option go_package = "colinear/x/colinearcore/types";
import "colinearcore/hardware.proto";
// Msg defines the Msg service.
service Msg {
rpc NewAuction(MsgNewAuction) returns (MsgNewAuctionResponse);
@@ -26,6 +28,13 @@ message MsgNewAuction {
// verified providers just specifies who's allowed to bid on the lease auction.
// STORED IN MEMORY. DOES NOT GET WRITTEN TO CHAIN STATE.
repeated string verifiedProviders = 7;
// hardware specs (mandatory)
repeated string gpus = 8;
uint64 cpuCores = 9;
CpuArchitecture cpuArch = 10;
uint64 memMb = 11;
uint64 storageGb = 12;
}
message MsgNewAuctionResponse {