Skip to content

Commit

Permalink
feat: add list available pcr ext request
Browse files Browse the repository at this point in the history
  • Loading branch information
raindust committed Mar 12, 2024
1 parent 8ec889d commit fbdd766
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions system-actors/src/tappstore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use tea_actorx::ActorId;
use tea_codec::serde::TypeId;
use tea_runtime_codec::actor_txns::{
pre_args::{Arg, ArgSlots},
tsid::Tsid,
};
use tea_runtime_codec::tapp::{
cml::{CmlId, CmlIntrinsic, CmlVariable},
fluencer::CreditSystemInfo,
Expand All @@ -17,6 +13,13 @@ use tea_runtime_codec::tapp::{
version::SystemVersions,
Account, AuthKey, Hash, TokenId,
};
use tea_runtime_codec::{
actor_txns::{
pre_args::{Arg, ArgSlots},
tsid::Tsid,
},
tapp::ra::VersionPcrs,
};

pub mod txns;

Expand Down Expand Up @@ -277,6 +280,14 @@ pub struct ListAvailablePcrsRequest(pub EnclaveType);
#[derive(Debug, Clone, Serialize, Deserialize, TypeId)]
pub struct ListAvailablePcrsResponse(pub Vec<HashMap<PcrType, Vec<u8>>>);

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId)]
pub struct ListAvailablePcrsExRequest;

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId)]
pub struct ListAvailablePcrsExResponse(pub Vec<VersionPcrs>);

#[doc(hidden)]
#[derive(Debug, Clone, Serialize, Deserialize, TypeId)]
#[response(())]
Expand Down

0 comments on commit fbdd766

Please sign in to comment.