@@ -23,6 +23,7 @@ use crate::{
2323
2424pub ( crate ) mod cassandra_db;
2525pub ( crate ) mod chain_follower;
26+ pub ( crate ) mod signed_doc;
2627mod str_env_var;
2728
2829/// Default address to start service on, '0.0.0.0:3030'.
@@ -136,6 +137,9 @@ struct EnvVars {
136137 /// The Chain Follower configuration
137138 chain_follower : chain_follower:: EnvVars ,
138139
140+ /// The Catalyst Signed Documents configuration
141+ signed_doc : signed_doc:: EnvVars ,
142+
139143 /// Internal API Access API Key
140144 internal_api_key : Option < StringEnvVar > ,
141145
@@ -211,6 +215,7 @@ static ENV_VARS: LazyLock<EnvVars> = LazyLock::new(|| {
211215 cassandra_db:: VOLATILE_NAMESPACE_DEFAULT ,
212216 ) ,
213217 chain_follower : chain_follower:: EnvVars :: new ( ) ,
218+ signed_doc : signed_doc:: EnvVars :: new ( ) ,
214219 internal_api_key : StringEnvVar :: new_optional ( "INTERNAL_API_KEY" , true ) ,
215220 check_config_tick : StringEnvVar :: new_as_duration (
216221 "CHECK_CONFIG_TICK" ,
@@ -307,6 +312,11 @@ impl Settings {
307312 ENV_VARS . chain_follower . clone ( )
308313 }
309314
315+ /// Get the configuration of the Catalyst Signed Documents.
316+ pub ( crate ) fn signed_doc_cfg ( ) -> signed_doc:: EnvVars {
317+ ENV_VARS . signed_doc . clone ( )
318+ }
319+
310320 /// Chain Follower network (The Blockchain network we are configured to use).
311321 /// Note: Catalyst Gateway can ONLY follow one network at a time.
312322 pub ( crate ) fn cardano_network ( ) -> Network {
0 commit comments