async fn initialize_storage(
        &self,
        _stop_receiver: watch::Receiver<bool>,
    ) -> Result<(), OrStopped> {
        let mut storage = self.pool.connection_tagged("en").await?;

        // Custom genesis state for external nodes is not supported. If the main node has a custom genesis,
        // its external nodes should be started from a Postgres dump or a snapshot instead.
        zksync_node_sync::genesis::perform_genesis_if_needed(
            &mut storage,
            self.l2_chain_id,
            &self.client.clone().for_component("genesis"),
            None,
        )
        .await
        .context("performing genesis failed")?;

        Ok(())
    }
Will perform genesis initialization if it's required.
If genesis is already performed, this method will do nothing.
core/node/node_storage_init/src/external_node/genesis.rs