Skip to content

Commit 22ecd85

Browse files
committed
refactor: moved files to prepare less conflicts when adding the centralized case
1 parent f5e8cf8 commit 22ecd85

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed
File renamed without changes.
File renamed without changes.

core/service/src/engine/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ mod server;
33
#[cfg(feature = "non-wasm")]
44
pub use server::*;
55

6+
#[cfg(feature = "non-wasm")]
7+
pub mod backup_operator;
68
#[cfg(feature = "non-wasm")]
79
pub mod base;
810
#[cfg(feature = "non-wasm")]
911
pub mod centralized;
1012
#[cfg(feature = "non-wasm")]
1113
pub mod context;
1214
#[cfg(feature = "non-wasm")]
15+
pub mod context_manager;
16+
#[cfg(feature = "non-wasm")]
1317
pub mod keyset_configuration;
1418
#[cfg(feature = "non-wasm")]
1519
pub mod threshold;

core/service/src/engine/threshold/service/kms_impl.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ use crate::{
5555
consts::{MINIMUM_SESSIONS_PREPROC, PRSS_INIT_REQ_ID},
5656
cryptography::{attestation::SecurityModuleProxy, internal_crypto_types::PrivateSigKey},
5757
engine::{
58+
backup_operator::RealBackupOperator,
5859
base::{compute_info, BaseKmsStruct, KeyGenCallValues, DSEP_PUBDATA_KEY},
60+
context_manager::RealContextManager,
5961
prepare_shutdown_signals,
6062
threshold::{
6163
service::public_decryptor::SecureNoiseFloodDecryptor,
@@ -79,7 +81,6 @@ use crate::{
7981

8082
// === Current Module Imports ===
8183
use super::{
82-
backup_operator::RealBackupOperator, context_manager::RealContextManager,
8384
crs_generator::RealCrsGenerator, initiator::RealInitiator, key_generator::RealKeyGenerator,
8485
preprocessor::RealPreprocessor, public_decryptor::RealPublicDecryptor,
8586
session::SessionPreparer, user_decryptor::RealUserDecryptor,

core/service/src/engine/threshold/service/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ mod kms_impl;
1515
pub use kms_impl::*;
1616

1717
// Module components
18-
mod backup_operator;
19-
mod context_manager;
2018
mod crs_generator;
2119
mod initiator;
2220
mod key_generator;

0 commit comments

Comments
 (0)