pub(crate) fn write_to_bootloader_heap(
        &mut self,
        memory: impl IntoIterator<Item = (usize, U256)>,
    ) {
        assert!(
            !self.has_previous_far_calls(),
            "Cannot write to bootloader heap when not in root call frame"
        );

        for (slot, value) in memory {
            let start_address = slot as u32 * 32;
            self.inner
                .write_heap_u256(HeapId::FIRST, start_address, value);
        }
    }
Should only be used when the bootloader is executing (e.g., when handling hooks).
core/lib/multivm/src/versions/vm_fast/vm.rs