Skip to content

Commit

Permalink
feat: improve upgrade transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
raindust committed Jan 22, 2024
1 parent 0b7f8d6 commit 3e1a608
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions system-actors/src/tappstore/txns.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::convert::TryFrom;
use strum::Display;
use tea_codec::errorx::Global;
Expand Down Expand Up @@ -283,8 +282,8 @@ pub enum TappstoreTxn {
UpgradeEnclaveVersion {
url: String,
version: String,
modules: HashMap<String, String>,
pcrs: HashMap<PcrType, String>,
modules: Vec<(String, String)>,
pcrs: Vec<(PcrType, String)>,
auth_b64: String,
expire_at: TimestampShort,
},
Expand Down Expand Up @@ -315,7 +314,7 @@ pub enum TappstoreTxn {
},
AddVersionPcrs {
version: String,
pcrs: HashMap<PcrType, String>,
pcrs: Vec<(PcrType, String)>,
auth_b64: String,
},
RemoveVersionPcrs {
Expand Down

0 comments on commit 3e1a608

Please sign in to comment.