admin pubkey in DelAppReq for authendicate and serde default for AppDeployConfig fields
This commit is contained in:
parent
99c3c83ed3
commit
54abe74d42
@ -52,6 +52,7 @@ message MappedPort {
|
|||||||
|
|
||||||
message DelAppReq {
|
message DelAppReq {
|
||||||
string uuid= 1;
|
string uuid= 1;
|
||||||
|
string admin_pubkey = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListAppContractsReq {
|
message ListAppContractsReq {
|
||||||
|
@ -40,7 +40,9 @@ pub struct AppDeployConfig {
|
|||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub admin_pubkey: String,
|
pub admin_pubkey: String,
|
||||||
pub node_pubkey: String,
|
pub node_pubkey: String,
|
||||||
|
#[serde(default)]
|
||||||
pub price_per_unit: u64,
|
pub price_per_unit: u64,
|
||||||
|
#[serde(default)]
|
||||||
pub locked_nano: u64,
|
pub locked_nano: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user