Move kms helper under nodes and clean imports

This commit is contained in:
andrussal 2025-12-09 09:17:31 +01:00
parent 2c93fc9e57
commit c2f94b3bed
6 changed files with 3 additions and 4 deletions

View File

@ -1 +0,0 @@
pub mod kms;

View File

@ -3,7 +3,6 @@ use std::{env, net::Ipv4Addr, ops::Mul as _, sync::LazyLock, time::Duration};
use nomos_core::sdp::ProviderId;
use nomos_libp2p::{Multiaddr, PeerId, multiaddr};
pub mod common;
pub mod nodes;
pub mod topology;

View File

@ -16,7 +16,7 @@ use nomos_node::config::{
use nomos_utils::math::NonNegativeF64;
use crate::{
common::kms::key_id_for_preload_backend,
nodes::kms::key_id_for_preload_backend,
topology::configs::blend::GeneralBlendConfig as TopologyBlendConfig,
};

View File

@ -1,4 +1,5 @@
pub(crate) mod blend;
pub(crate) mod common;
pub mod executor;
pub mod kms;
pub mod validator;

View File

@ -26,7 +26,7 @@ use tracing::GeneralTracingConfig;
use wallet::WalletConfig;
use crate::{
common::kms::key_id_for_preload_backend,
nodes::kms::key_id_for_preload_backend,
topology::configs::{
api::GeneralApiConfig,
bootstrap::{GeneralBootstrapConfig, SHORT_PROLONGED_BOOTSTRAP_PERIOD},