diff --git a/src/createRollupPrepareDeploymentParamsConfig.ts b/src/createRollupPrepareDeploymentParamsConfig.ts index c564c772..08173204 100644 --- a/src/createRollupPrepareDeploymentParamsConfig.ts +++ b/src/createRollupPrepareDeploymentParamsConfig.ts @@ -67,11 +67,11 @@ export function createRollupPrepareDeploymentParamsConfig, { chainConfig, ...params }: CreateRollupPrepareDeploymentParamsConfigParams, ): CreateRollupPrepareDeploymentParamsConfigResult { - const { chainId } = validateParentChain(client); + const { chainId: parentChainId } = validateParentChain(client); const defaultsBasedOnParentChain = { - confirmPeriodBlocks: getDefaultConfirmPeriodBlocks(chainId), - sequencerInboxMaxTimeVariation: getDefaultSequencerInboxMaxTimeVariation(chainId), + confirmPeriodBlocks: getDefaultConfirmPeriodBlocks(parentChainId), + sequencerInboxMaxTimeVariation: getDefaultSequencerInboxMaxTimeVariation(parentChainId), }; return {