diff --git a/core/bin/envs_to_files/src/main.rs b/core/bin/envs_to_files/src/main.rs index d67502363e4d..767f964cf468 100644 --- a/core/bin/envs_to_files/src/main.rs +++ b/core/bin/envs_to_files/src/main.rs @@ -10,11 +10,12 @@ use zksync_config::{ }, fri_prover_group::FriProverGroupConfig, house_keeper::HouseKeeperConfig, - BasicWitnessInputProducerConfig, DatabaseSecrets, ExperimentalVmConfig, - ExternalPriceApiClientConfig, FriProofCompressorConfig, FriProverConfig, - FriProverGatewayConfig, FriWitnessGeneratorConfig, FriWitnessVectorGeneratorConfig, - L1Secrets, ObjectStoreConfig, ObservabilityConfig, PrometheusConfig, - ProofDataHandlerConfig, ProtectiveReadsWriterConfig, ProverJobMonitorConfig, + BasicWitnessInputProducerConfig, DataAvailabilitySecrets, DatabaseSecrets, + ExperimentalVmConfig, ExternalPriceApiClientConfig, FriProofCompressorConfig, + FriProverConfig, FriProverGatewayConfig, FriWitnessGeneratorConfig, + FriWitnessVectorGeneratorConfig, L1Secrets, ObjectStoreConfig, ObservabilityConfig, + PrometheusConfig, ProofDataHandlerConfig, ProtectiveReadsWriterConfig, + ProverJobMonitorConfig, }, ApiConfig, BaseTokenAdjusterConfig, ContractVerifierConfig, ContractsConfig, DAClientConfig, DADispatcherConfig, DBConfig, EthConfig, EthWatchConfig, ExternalProofIntegrationApiConfig, @@ -88,7 +89,7 @@ fn main() { consensus: None, database: DatabaseSecrets::from_env().ok(), l1: L1Secrets::from_env().ok(), - data_availability: None, + data_availability: DataAvailabilitySecrets::from_env().ok(), }; let data = encode_yaml(&ProtoGeneral::build(&general)).unwrap(); diff --git a/etc/env/file_based/secrets.yaml b/etc/env/file_based/secrets.yaml index e06603155082..2ad2db80288b 100644 --- a/etc/env/file_based/secrets.yaml +++ b/etc/env/file_based/secrets.yaml @@ -1,6 +1,10 @@ database: server_url: postgres://postgres:notsecurepassword@localhost/zksync_local - server_replica_url: postgres://postgres:notsecurepassword@localhost/zksync_local prover_url: postgres://postgres:notsecurepassword@localhost/prover_local l1: l1_rpc_url: http://127.0.0.1:8545 +consensus: + # 'validator:public:bls12_381:b14e3126668ae79e689a2d65c56522889a3812ef5433097c33bd7af601b073dcdddf46e188883aa381725c49e08f90c705df1f78bf918e1978912cebeadff0d0084b1a4fe2ddee243e826348045f528803207f5de303c6a95bc1a701a190dbcf' + validator_key: 'validator:secret:bls12_381:3cf20d771450fcd0cbb3839b21cab41161af1554e35d8407a53b0a5d98ff04d4' + # 'node:public:ed25519:a9995979f228c91e4f387f7e141a9afe409196ee0c4fca0045c1c6b6e7892cb5' + node_key: 'node:secret:ed25519:9a40791b5a6b1627fc538b1ddecfa843bd7c4cd01fc0a4d0da186f9d3e740d7c' \ No newline at end of file