Skip to content

Commit

Permalink
feat(prover): Add file based config for fri prover gateway (#2150)
Browse files Browse the repository at this point in the history
## What ❔

Add file based config for fri prover gateway

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
  • Loading branch information
matias-gonz authored Jun 6, 2024
1 parent bad5a6c commit 81ffc6a
Show file tree
Hide file tree
Showing 5 changed files with 1,921 additions and 771 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn decode_yaml_repr<T: ProtoRepr>(yaml: &str) -> anyhow::Result<T::Type> {
// TODO (QIT-22): This structure is going to be removed when components will be responsible for their own configs.
/// A temporary config store allowing to pass deserialized configs from `zksync_server` to `zksync_core`.
/// All the configs are optional, since for some component combination it is not needed to pass all the configs.
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Default)]
pub struct TempConfigStore {
pub postgres_config: Option<PostgresConfig>,
pub health_check_config: Option<HealthCheckConfig>,
Expand Down
Loading

0 comments on commit 81ffc6a

Please sign in to comment.