pub fn new(
        rt_handle: Handle,
        connection: Connection<'a, Core>,
        block_number: L2BlockNumber,
        consider_new_l1_batch: bool,
    ) -> Self {
        rt_handle
            .clone()
            .block_on(Self::new_async(
                rt_handle,
                connection,
                block_number,
                consider_new_l1_batch,
            ))
            .unwrap()
    }
Creates a new storage using the specified connection.

# Panics

Panics on Postgres errors.
core/lib/state/src/postgres/mod.rs