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 {
|
||||
string uuid= 1;
|
||||
string admin_pubkey = 2;
|
||||
}
|
||||
|
||||
message ListAppContractsReq {
|
||||
|
@ -40,7 +40,9 @@ pub struct AppDeployConfig {
|
||||
#[serde(default)]
|
||||
pub admin_pubkey: String,
|
||||
pub node_pubkey: String,
|
||||
#[serde(default)]
|
||||
pub price_per_unit: u64,
|
||||
#[serde(default)]
|
||||
pub locked_nano: u64,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user