diff --git a/yarn-project/circuit-types/src/versioning.ts b/yarn-project/circuit-types/src/versioning.ts index ec22da9d20d2..a4be555a8d1b 100644 --- a/yarn-project/circuit-types/src/versioning.ts +++ b/yarn-project/circuit-types/src/versioning.ts @@ -29,7 +29,7 @@ export function getComponentsVersionsFromConfig( ): ComponentsVersions { return { l1ChainId: config.l1ChainId, - l1RollupAddress: config.l1Contracts.rollupAddress, + l1RollupAddress: config.l1Contracts?.rollupAddress, // This should not be undefined, but sometimes the config lies to us and it is... l2ChainVersion: config.version, l2ProtocolContractsTreeRoot: l2ProtocolContractsTreeRoot.toString(), l2CircuitsVkTreeRoot: l2CircuitsVkTreeRoot.toString(),