diff --git a/Cargo.toml b/Cargo.toml index d42acc5..737569a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "ghost-eye" authors = ["str3tch "] description = "Application for interacting with Casper/Ghost nodes that are exposing RPC only to the localhost" -version = "0.3.31" +version = "0.3.32" edition = "2021" [dependencies] diff --git a/src/network/raw_calls/historical.rs b/src/network/raw_calls/historical.rs deleted file mode 100644 index 85c32a9..0000000 --- a/src/network/raw_calls/historical.rs +++ /dev/null @@ -1,19 +0,0 @@ -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) -} diff --git a/src/network/raw_calls/mod.rs b/src/network/raw_calls/mod.rs index 19fc0cf..49c9e74 100644 --- a/src/network/raw_calls/mod.rs +++ b/src/network/raw_calls/mod.rs @@ -12,7 +12,6 @@ pub mod staking; pub mod system; pub mod babe; pub mod balances; -pub mod historical; pub async fn do_storage_call<'address, Addr>( online_client: &OnlineClient,