From e5daf8e8358eff65963d6a1b2294d0bd1fccab89 Mon Sep 17 00:00:00 2001 From: Danil Date: Thu, 6 Jun 2024 15:26:21 +0200 Subject: [PATCH] fix(prover): config (#2165) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ ## Why ❔ ## Checklist - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`. - [ ] Spellcheck has been run via `zk spellcheck`. Signed-off-by: Danil --- prover/prover_fri_gateway/src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/prover/prover_fri_gateway/src/main.rs b/prover/prover_fri_gateway/src/main.rs index a56cd76ee282..9688eb3f76de 100644 --- a/prover/prover_fri_gateway/src/main.rs +++ b/prover/prover_fri_gateway/src/main.rs @@ -7,7 +7,10 @@ use prover_dal::{ConnectionPool, Prover}; use reqwest::Client; use tokio::sync::{oneshot, watch}; use zksync_config::{ - configs::{DatabaseSecrets, FriProverGatewayConfig, ObservabilityConfig, PostgresConfig}, + configs::{ + DatabaseSecrets, FriProverConfig, FriProverGatewayConfig, ObservabilityConfig, + PostgresConfig, + }, ObjectStoreConfig, }; use zksync_core_leftovers::temp_config_store::{decode_yaml_repr, TempConfigStore}; @@ -153,6 +156,7 @@ fn load_env_config() -> anyhow::Result { fri_prover_gateway_config: FriProverGatewayConfig::from_env().ok(), object_store_config: ObjectStoreConfig::from_env().ok(), observability: ObservabilityConfig::from_env().ok(), + fri_prover_config: FriProverConfig::from_env().ok(), ..Default::default() }) }