admin pubkey in DelAppReq for authendicate and serde default for AppDeployConfig fields

This commit is contained in:
Noor 2025-02-18 20:56:03 +05:30
parent 99c3c83ed3
commit 54abe74d42
Signed by: noormohammedb
GPG Key ID: D83EFB8B3B967146
2 changed files with 3 additions and 0 deletions

@ -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,
}