@@ -19,11 +19,16 @@ pub const ENCLAVE_ID_SVR2_STAGING_PREQUANTUM: &[u8] =
1919pub const ENCLAVE_ID_SVR2_PROD_PREQUANTUM : & [ u8 ] =
2020 & hex ! ( "9314436a9a144992bb3680770ea5fd7934a7ffd29257844a33763a238903d570" ) ;
2121
22- pub const ENCLAVE_ID_SVR2_STAGING : & [ u8 ] =
22+ pub const ENCLAVE_ID_SVR2_STAGING_2025Q2 : & [ u8 ] =
2323 & hex ! ( "2e8cefe6e3f389d8426adb24e9b7fb7adf10902c96f06f7bbcee36277711ed91" ) ;
24- pub const ENCLAVE_ID_SVR2_PROD : & [ u8 ] =
24+ pub const ENCLAVE_ID_SVR2_PROD_2025Q2 : & [ u8 ] =
2525 & hex ! ( "093be9ea32405e85ae28dbb48eb668aebeb7dbe29517b9b86ad4bec4dfe0e6a6" ) ;
2626
27+ pub const ENCLAVE_ID_SVR2_STAGING : & [ u8 ] =
28+ & hex ! ( "a75542d82da9f6914a1e31f8a7407053b99cc99a0e7291d8fbd394253e19b036" ) ;
29+ pub const ENCLAVE_ID_SVR2_PROD : & [ u8 ] =
30+ & hex ! ( "29cd63c87bea751e3bfd0fbd401279192e2e5c99948b4ee9437eafc4968355fb" ) ;
31+
2732pub const ENCLAVE_ID_SVRB_STAGING : & [ u8 ] =
2833 & hex ! ( "fefd012f3792a5ffd7d385171431adcde938ccb1346d1e1d9d2635da9c44da99" ) ;
2934
@@ -86,7 +91,7 @@ pub const RAFT_CONFIG_SVR2_PROD_PREQUANTUM: &RaftConfig = &RaftConfig {
8691 attestation_timeout : 604800 ,
8792 simulated : false ,
8893} ;
89- pub const RAFT_CONFIG_SVR2_STAGING : & RaftConfig = & RaftConfig {
94+ pub const RAFT_CONFIG_SVR2_STAGING_2025Q2 : & RaftConfig = & RaftConfig {
9095 min_voting_replicas : 3 ,
9196 max_voting_replicas : 9 ,
9297 super_majority : 0 ,
@@ -96,7 +101,7 @@ pub const RAFT_CONFIG_SVR2_STAGING: &RaftConfig = &RaftConfig {
96101 simulated : false ,
97102} ;
98103
99- pub const RAFT_CONFIG_SVR2_PROD : & RaftConfig = & RaftConfig {
104+ pub const RAFT_CONFIG_SVR2_PROD_2025Q2 : & RaftConfig = & RaftConfig {
100105 min_voting_replicas : 4 ,
101106 max_voting_replicas : 13 ,
102107 super_majority : 2 ,
@@ -106,6 +111,26 @@ pub const RAFT_CONFIG_SVR2_PROD: &RaftConfig = &RaftConfig {
106111 simulated : false ,
107112} ;
108113
114+ pub const RAFT_CONFIG_SVR2_STAGING : & RaftConfig = & RaftConfig {
115+ min_voting_replicas : 3 ,
116+ max_voting_replicas : 9 ,
117+ super_majority : 0 ,
118+ group_id : 14164309227572919775 ,
119+ db_version : 2 ,
120+ attestation_timeout : 604800 ,
121+ simulated : false ,
122+ } ;
123+
124+ pub const RAFT_CONFIG_SVR2_PROD : & RaftConfig = & RaftConfig {
125+ min_voting_replicas : 4 ,
126+ max_voting_replicas : 13 ,
127+ super_majority : 2 ,
128+ group_id : 10263621230883829694 ,
129+ db_version : 2 ,
130+ attestation_timeout : 604800 ,
131+ simulated : false ,
132+ } ;
133+
109134pub const RAFT_CONFIG_SVRB_STAGING : & RaftConfig = & RaftConfig {
110135 min_voting_replicas : 3 ,
111136 max_voting_replicas : 9 ,
@@ -118,7 +143,7 @@ pub const RAFT_CONFIG_SVRB_STAGING: &RaftConfig = &RaftConfig {
118143
119144// This is left here primarily to support SVR2 bridging code that does
120145// not expose the notion of environment to the clients.
121- pub ( crate ) static EXPECTED_RAFT_CONFIG_SVR2 : SmallMap < & ' static [ u8 ] , & ' static RaftConfig , 4 > =
146+ pub ( crate ) static EXPECTED_RAFT_CONFIG_SVR2 : SmallMap < & ' static [ u8 ] , & ' static RaftConfig , 6 > =
122147 SmallMap :: new ( [
123148 (
124149 ENCLAVE_ID_SVR2_STAGING_PREQUANTUM ,
@@ -128,6 +153,11 @@ pub(crate) static EXPECTED_RAFT_CONFIG_SVR2: SmallMap<&'static [u8], &'static Ra
128153 ENCLAVE_ID_SVR2_PROD_PREQUANTUM ,
129154 RAFT_CONFIG_SVR2_PROD_PREQUANTUM ,
130155 ) ,
156+ (
157+ ENCLAVE_ID_SVR2_STAGING_2025Q2 ,
158+ RAFT_CONFIG_SVR2_STAGING_2025Q2 ,
159+ ) ,
160+ ( ENCLAVE_ID_SVR2_PROD_2025Q2 , RAFT_CONFIG_SVR2_PROD_2025Q2 ) ,
131161 ( ENCLAVE_ID_SVR2_STAGING , RAFT_CONFIG_SVR2_STAGING ) ,
132162 ( ENCLAVE_ID_SVR2_PROD , RAFT_CONFIG_SVR2_PROD ) ,
133163 ] ) ;
0 commit comments