diff --git a/proto/sgx/brain.proto b/proto/sgx/brain.proto index 96098ed..b291e04 100644 --- a/proto/sgx/brain.proto +++ b/proto/sgx/brain.proto @@ -52,6 +52,7 @@ message MappedPort { message DelAppReq { string uuid= 1; + string admin_pubkey = 2; } message ListAppContractsReq { diff --git a/src/sgx/types/brain.rs b/src/sgx/types/brain.rs index a3d7135..da1a4cd 100644 --- a/src/sgx/types/brain.rs +++ b/src/sgx/types/brain.rs @@ -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, }