Skip to content

Commit

Permalink
reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc committed Oct 8, 2024
1 parent 6bce7b6 commit ed413fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/createRollupPrepareDeploymentParamsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export function createRollupPrepareDeploymentParamsConfig<TChain extends Chain |
client: Client<Transport, TChain>,
{ 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 {
Expand Down

0 comments on commit ed413fd

Please sign in to comment.