pub async fn get_initial_bootloader_heap(
        &mut self,
        number: L1BatchNumber,
    ) -> anyhow::Result<Option<Vec<(usize, U256)>>> {
        let Some(row) = sqlx::query!(
            r#"
            SELECT
                initial_bootloader_heap_content
            FROM
                l1_batches
            WHERE
                is_sealed
                AND number = $1
            "#,
            i64::from(number.0)
        )
        .instrument("get_initial_bootloader_heap")
        .report_latency()
        .with_arg("number", &number)
        .fetch_optional(self.storage)
        .await?
        else {
            return Ok(None);
        };

        let heap = serde_json::from_value(row.initial_bootloader_heap_content)
            .context("invalid value for initial_bootloader_heap_content in the DB")?;
        Ok(Some(heap))
    }
Returns initial bootloader heap content for the specified L1 batch.
core/lib/dal/src/blocks_dal.rs