use color_eyre::Result; use subxt::{ utils::H256, client::OnlineClient, }; use crate::{ casper_network, CasperConfig, }; pub async fn stored_range( online_client: &OnlineClient, at_hash: Option<&H256>, ) -> Result> { let storage_key = casper_network::storage().historical().stored_range(); let maybe_stored_range = super::do_storage_call(online_client, &storage_key, at_hash).await?; Ok(maybe_stored_range) }