Skip to content

Commit

Permalink
secrects to match main
Browse files Browse the repository at this point in the history
  • Loading branch information
sanekmelnikov committed Dec 4, 2024
1 parent 6dc4ecb commit cc816d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
13 changes: 7 additions & 6 deletions core/bin/envs_to_files/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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();
Expand Down
6 changes: 5 additions & 1 deletion etc/env/file_based/secrets.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit cc816d9

Please sign in to comment.