From d576341688cd9c02064933a7fd082ae541a1e32e Mon Sep 17 00:00:00 2001 From: just-mitch Date: Thu, 20 Mar 2025 00:35:54 +0000 Subject: [PATCH] fix: config ordering --- yarn-project/aztec-node/src/aztec-node/config.ts | 2 +- yarn-project/prover-client/src/proving_broker/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn-project/aztec-node/src/aztec-node/config.ts b/yarn-project/aztec-node/src/aztec-node/config.ts index 658b1db50149..0533a48bd549 100644 --- a/yarn-project/aztec-node/src/aztec-node/config.ts +++ b/yarn-project/aztec-node/src/aztec-node/config.ts @@ -31,13 +31,13 @@ export type AztecNodeConfig = ArchiverConfig & }; export const aztecNodeConfigMappings: ConfigMappingsType = { + ...dataConfigMappings, ...archiverConfigMappings, ...sequencerClientConfigMappings, ...validatorClientConfigMappings, ...proverClientConfigMappings, ...worldStateConfigMappings, ...p2pConfigMappings, - ...dataConfigMappings, disableValidator: { env: 'VALIDATOR_DISABLED', description: 'Whether the validator is disabled for this node.', diff --git a/yarn-project/prover-client/src/proving_broker/config.ts b/yarn-project/prover-client/src/proving_broker/config.ts index aca7a1b61770..bbd57b703a76 100644 --- a/yarn-project/prover-client/src/proving_broker/config.ts +++ b/yarn-project/prover-client/src/proving_broker/config.ts @@ -71,8 +71,8 @@ export const proverBrokerConfigMappings: ConfigMappingsType parseEnv: (val: string | undefined) => (val ? +val : undefined), description: "The size of the prover broker's database. Will override the dataStoreMapSizeKB if set.", }, - ...l1ReaderConfigMappings, ...dataConfigMappings, + ...l1ReaderConfigMappings, }; export const defaultProverBrokerConfig: ProverBrokerConfig = getDefaultConfig(proverBrokerConfigMappings);