diff --git a/src/config/ConfigHelper.ts b/src/config/ConfigHelper.ts index 647633a9b..aa2f0323e 100644 --- a/src/config/ConfigHelper.ts +++ b/src/config/ConfigHelper.ts @@ -338,8 +338,9 @@ export class ConfigHelper { config.sdk = 'evm' } } - - config.accessListFactory = contractAddressesConfig.accessListFactory + if (contractAddressesConfig && 'accessListFactory' in contractAddressesConfig) { + config.accessListFactory = contractAddressesConfig.accessListFactory + } config = { ...config, ...contractAddressesConfig }